mirror of
https://github.com/orange-cpp/omath.git
synced 2026-02-13 15:03:27 +00:00
added const and constexpr refacotred build options
This commit is contained in:
@@ -146,7 +146,7 @@ namespace omath
|
||||
return {x * v.x, y * v.y, z * v.z};
|
||||
}
|
||||
|
||||
[[nodiscard]] constexpr Vector3 operator/(float fl) const
|
||||
[[nodiscard]] constexpr Vector3 operator/(const float fl) const
|
||||
{
|
||||
return {x / fl, y / fl, z / fl};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user