| 50 | friend inline Vector3 operator+(const Vector3& lhs, float rhs) SKR_NOEXCEPT { return Vector3(lhs.x + rhs, lhs.y + rhs, lhs.z + rhs); } |
| 51 | friend inline Vector3 operator-(const Vector3& lhs, float rhs) SKR_NOEXCEPT { return Vector3(lhs.x - rhs, lhs.y - rhs, lhs.z - rhs); } |
| 52 | friend inline Vector3 operator*(const Vector3& lhs, float rhs) SKR_NOEXCEPT { return Vector3(lhs.x * rhs, lhs.y * rhs, lhs.z * rhs); } |
| 53 | friend inline Vector3 operator/(const Vector3& lhs, float rhs) SKR_NOEXCEPT { return Vector3(lhs.x / rhs, lhs.y / rhs, lhs.z / rhs); } |
| 54 | friend inline Vector3 operator%(const Vector3& lhs, float rhs) SKR_NOEXCEPT { return Vector3(::std::fmod(lhs.x, rhs), ::std::fmod(lhs.y, rhs), ::std::fmod(lhs.z, rhs)); } |
| 55 | |