| 141 | { |
| 142 | } |
| 143 | inline constexpr operator Vector3() |
| 144 | { |
| 145 | return Vector3(x, y, z); |
| 146 | } |
| 147 | |
| 148 | // compare |
| 149 | inline constexpr bool operator==(const Vector4& other) const SKR_NOEXCEPT { return x == other.x && y == other.y && z == other.z && w == other.w; } |