| 153 | inline Vector4 operator-() const SKR_NOEXCEPT { return Vector4(-x, -y, -z, -w); } |
| 154 | |
| 155 | friend inline Vector4 operator+(const Vector4& lhs, float rhs) SKR_NOEXCEPT { return Vector4(lhs.x + rhs, lhs.y + rhs, lhs.z + rhs, lhs.w + rhs); } |
| 156 | friend inline Vector4 operator-(const Vector4& lhs, float rhs) SKR_NOEXCEPT { return Vector4(lhs.x - rhs, lhs.y - rhs, lhs.z - rhs, lhs.w - rhs); } |
| 157 | friend inline Vector4 operator*(const Vector4& lhs, float rhs) SKR_NOEXCEPT { return Vector4(lhs.x * rhs, lhs.y * rhs, lhs.z * rhs, lhs.w * rhs); } |
| 158 | friend inline Vector4 operator/(const Vector4& lhs, float rhs) SKR_NOEXCEPT { return Vector4(lhs.x / rhs, lhs.y / rhs, lhs.z / rhs, lhs.w / rhs); } |