Math/Vector4: Fix w value when converting from Vector3
Former-commit-id: 54b45268d18c3839bceffa065e52e47a7a44e811 [formerly 3a349b4380d23163a5f56a2aedb1860f140856cb] Former-commit-id: 453d4705694d89bba0122c5a37c76ddf5478213b
This commit is contained in:
parent
bbb218f9a0
commit
068465b6b9
|
|
@ -28,7 +28,7 @@ namespace Nz
|
||||||
explicit Vector4(T scale);
|
explicit Vector4(T scale);
|
||||||
Vector4(const T vec[4]);
|
Vector4(const T vec[4]);
|
||||||
Vector4(const Vector2<T>& vec, T Z = 0.0, T W = 1.0);
|
Vector4(const Vector2<T>& vec, T Z = 0.0, T W = 1.0);
|
||||||
Vector4(const Vector3<T>& vec, T W = 0.0);
|
Vector4(const Vector3<T>& vec, T W = 1.0);
|
||||||
template<typename U> explicit Vector4(const Vector4<U>& vec);
|
template<typename U> explicit Vector4(const Vector4<U>& vec);
|
||||||
Vector4(const Vector4& vec) = default;
|
Vector4(const Vector4& vec) = default;
|
||||||
~Vector4() = default;
|
~Vector4() = default;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue