| 36 | explicit Vector4( NoInit ) noexcept { } |
| 37 | constexpr Vector4( T x, T y, T z, T w ) noexcept : x( x ), y( y ), z( z ), w( w ) { } |
| 38 | static constexpr Vector4 diagonal( T a ) noexcept |
| 39 | { |
| 40 | return Vector4( a, a, a, a ); |
| 41 | } |
| 42 | |
| 43 | // Here `T == U` doesn't seem to cause any issues in the C++ code, but we're still disabling it because it somehow gets emitted |
| 44 | // when generating the bindings, and looks out of place there. Specifically for Vector4, it only gets emitted on Windows (but not on Linux) for some reason. |