Math: Added Vector[2|3|4](u)i64 typedefs
This commit is contained in:
@@ -109,7 +109,9 @@ namespace Nz
|
||||
using Vector2i = Vector2<int>;
|
||||
using Vector2ui = Vector2<unsigned int>;
|
||||
using Vector2i32 = Vector2<Int32>;
|
||||
using Vector2i64 = Vector2<Int64>;
|
||||
using Vector2ui32 = Vector2<UInt32>;
|
||||
using Vector2ui64 = Vector2<UInt64>;
|
||||
|
||||
template<typename T> bool Serialize(SerializationContext& context, const Vector2<T>& vector, TypeTag<Vector2<T>>);
|
||||
template<typename T> bool Unserialize(SerializationContext& context, Vector2<T>* vector, TypeTag<Vector2<T>>);
|
||||
|
||||
@@ -129,7 +129,9 @@ namespace Nz
|
||||
using Vector3i = Vector3<int>;
|
||||
using Vector3ui = Vector3<unsigned int>;
|
||||
using Vector3i32 = Vector3<Int32>;
|
||||
using Vector3i64 = Vector3<Int64>;
|
||||
using Vector3ui32 = Vector3<UInt32>;
|
||||
using Vector3ui64 = Vector3<UInt64>;
|
||||
|
||||
template<typename T> bool Serialize(SerializationContext& context, const Vector3<T>& vector, TypeTag<Vector3<T>>);
|
||||
template<typename T> bool Unserialize(SerializationContext& context, Vector3<T>* vector, TypeTag<Vector3<T>>);
|
||||
|
||||
@@ -106,7 +106,9 @@ namespace Nz
|
||||
using Vector4i = Vector4<int>;
|
||||
using Vector4ui = Vector4<unsigned int>;
|
||||
using Vector4i32 = Vector4<Int32>;
|
||||
using Vector4i64 = Vector4<Int64>;
|
||||
using Vector4ui32 = Vector4<UInt32>;
|
||||
using Vector4ui64 = Vector4<UInt64>;
|
||||
|
||||
template<typename T> bool Serialize(SerializationContext& context, const Vector4<T>& vector, TypeTag<Vector4<T>>);
|
||||
template<typename T> bool Unserialize(SerializationContext& context, Vector4<T>* vector, TypeTag<Vector4<T>>);
|
||||
|
||||
Reference in New Issue
Block a user