From d9c38181a5120650adb346aa93324a119148c61c Mon Sep 17 00:00:00 2001 From: Lynix Date: Mon, 30 Jun 2014 10:52:25 +0200 Subject: [PATCH] Added (U)Int32 typedef for Box,Rect and VectorI classes Former-commit-id: 20fcc8e7ccde6f5306c08058ad477e81cfb2d204 --- include/Nazara/Math/Box.hpp | 2 ++ include/Nazara/Math/Rect.hpp | 2 ++ include/Nazara/Math/Vector2.hpp | 2 ++ include/Nazara/Math/Vector3.hpp | 2 ++ include/Nazara/Math/Vector4.hpp | 3 +++ 5 files changed, 11 insertions(+) diff --git a/include/Nazara/Math/Box.hpp b/include/Nazara/Math/Box.hpp index ef32170b9..0409caffc 100644 --- a/include/Nazara/Math/Box.hpp +++ b/include/Nazara/Math/Box.hpp @@ -95,6 +95,8 @@ typedef NzBox NzBoxd; typedef NzBox NzBoxf; typedef NzBox NzBoxi; typedef NzBox NzBoxui; +typedef NzBox NzBoxi32; +typedef NzBox NzBoxui32; #include diff --git a/include/Nazara/Math/Rect.hpp b/include/Nazara/Math/Rect.hpp index a133b7ed6..a91c7b0e9 100644 --- a/include/Nazara/Math/Rect.hpp +++ b/include/Nazara/Math/Rect.hpp @@ -87,6 +87,8 @@ typedef NzRect NzRectd; typedef NzRect NzRectf; typedef NzRect NzRecti; typedef NzRect NzRectui; +typedef NzRect NzRecti32; +typedef NzRect NzRectui32; #include diff --git a/include/Nazara/Math/Vector2.hpp b/include/Nazara/Math/Vector2.hpp index 373627cd8..2086524ba 100644 --- a/include/Nazara/Math/Vector2.hpp +++ b/include/Nazara/Math/Vector2.hpp @@ -96,6 +96,8 @@ typedef NzVector2 NzVector2d; typedef NzVector2 NzVector2f; typedef NzVector2 NzVector2i; typedef NzVector2 NzVector2ui; +typedef NzVector2 NzVector2i32; +typedef NzVector2 NzVector2ui32; #include diff --git a/include/Nazara/Math/Vector3.hpp b/include/Nazara/Math/Vector3.hpp index 8a413c6af..67b2cd388 100644 --- a/include/Nazara/Math/Vector3.hpp +++ b/include/Nazara/Math/Vector3.hpp @@ -119,6 +119,8 @@ typedef NzVector3 NzVector3d; typedef NzVector3 NzVector3f; typedef NzVector3 NzVector3i; typedef NzVector3 NzVector3ui; +typedef NzVector3 NzVector3i32; +typedef NzVector3 NzVector3ui32; #include diff --git a/include/Nazara/Math/Vector4.hpp b/include/Nazara/Math/Vector4.hpp index 7e30e71ee..5b71081d8 100644 --- a/include/Nazara/Math/Vector4.hpp +++ b/include/Nazara/Math/Vector4.hpp @@ -90,6 +90,9 @@ template NzVector4 operator/(T scale, const NzVector4& vec); typedef NzVector4 NzVector4d; typedef NzVector4 NzVector4f; typedef NzVector4 NzVector4i; +typedef NzVector4 NzVector4ui; +typedef NzVector4 NzVector4i32; +typedef NzVector4 NzVector4ui32; #include