Math: Added Vector[2|3|4](u)i64 typedefs

This commit is contained in:
Lynix 2019-03-16 15:40:52 +01:00
parent cdf9611080
commit c2a44f7616
4 changed files with 7 additions and 0 deletions

View File

@ -167,6 +167,7 @@ Nazara Engine:
- Fixed Window movement constructor/assignation operator
- Window::PushEvent is now public (useful for pushing external events ie. when using Qt or similar framework controlling window)
- Fixed TileMap not rendering the right materials if it had no tile using some materials in-between
- Added Vector[2|3|4](u)i64 typedefs
Nazara Development Kit:
- Added ImageWidget (#139)

View File

@ -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>>);

View File

@ -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>>);

View File

@ -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>>);