Browse Source

Versioning of GTC extensions

Christophe Riccio 14 years ago
parent
commit
f3c69ee3b8

+ 3 - 3
glm/gtc/half_float.hpp

@@ -35,8 +35,8 @@
 ///
 ///////////////////////////////////////////////////////////////////////////////////
 
-#ifndef glm_gtc_half_float
-#define glm_gtc_half_float
+#ifndef GLM_GTC_half_float
+#define GLM_GTC_half_float 90
 
 // Dependency:
 #include "../glm.hpp"
@@ -421,4 +421,4 @@ namespace detail
 
 #include "half_float.inl"
 
-#endif//glm_gtc_half_float
+#endif//GLM_GTC_half_float

+ 3 - 3
glm/gtc/matrix_access.hpp

@@ -34,8 +34,8 @@
 /// <glm/gtc/matrix_access.hpp> need to be included to use these functionalities.
 ///////////////////////////////////////////////////////////////////////////////////
 
-#ifndef glm_gtc_matrix_access
-#define glm_gtc_matrix_access
+#ifndef GLM_GTC_matrix_access
+#define GLM_GTC_matrix_access 90
 
 // Dependency:
 #include "../glm.hpp"
@@ -84,4 +84,4 @@ namespace glm
 
 #include "matrix_access.inl"
 
-#endif//glm_gtc_matrix_access
+#endif//GLM_GTC_matrix_access

+ 3 - 3
glm/gtc/matrix_integer.hpp

@@ -34,8 +34,8 @@
 /// <glm/gtc/matrix_integer.hpp> need to be included to use these functionalities.
 ///////////////////////////////////////////////////////////////////////////////////
 
-#ifndef glm_gtc_matrix_integer
-#define glm_gtc_matrix_integer
+#ifndef GLM_GTC_matrix_integer
+#define GLM_GTC_matrix_integer 90
 
 // Dependency:
 #include "../glm.hpp"
@@ -218,4 +218,4 @@ namespace glm
 	/// @}
 }//namespace glm
 
-#endif//glm_gtc_matrix_integer
+#endif//GLM_GTC_matrix_integer

+ 3 - 3
glm/gtc/matrix_inverse.hpp

@@ -34,8 +34,8 @@
 /// <glm/gtc/matrix_inverse.hpp> need to be included to use these functionalities.
 ///////////////////////////////////////////////////////////////////////////////////
 
-#ifndef glm_gtc_matrix_inverse
-#define glm_gtc_matrix_inverse
+#ifndef GLM_GTC_matrix_inverse
+#define GLM_GTC_matrix_inverse 90
 
 // Dependency:
 #include "../glm.hpp"
@@ -65,4 +65,4 @@ namespace glm
 
 #include "matrix_inverse.inl"
 
-#endif//glm_gtc_matrix_inverse
+#endif//GLM_GTC_matrix_inverse

+ 3 - 3
glm/gtc/matrix_transform.hpp

@@ -43,8 +43,8 @@
 /// <glm/gtc/matrix_transform.hpp> need to be included to use these functionalities.
 ///////////////////////////////////////////////////////////////////////////////////
 
-#ifndef glm_gtc_matrix_transform
-#define glm_gtc_matrix_transform
+#ifndef GLM_GTC_matrix_transform
+#define GLM_GTC_matrix_transform 90
 
 // Dependency:
 #include "../glm.hpp"
@@ -199,4 +199,4 @@ namespace glm
 
 #include "matrix_transform.inl"
 
-#endif//glm_gtc_matrix_transform
+#endif//GLM_GTC_matrix_transform

+ 3 - 3
glm/gtc/quaternion.hpp

@@ -39,8 +39,8 @@
 /// <glm/gtc/quaternion.hpp> need to be included to use these functionalities.
 ///////////////////////////////////////////////////////////////////////////////////
 
-#ifndef glm_gtc_quaternion
-#define glm_gtc_quaternion
+#ifndef GLM_GTC_quaternion
+#define GLM_GTC_quaternion 90
 
 // Dependency:
 #include "../glm.hpp"
@@ -257,4 +257,4 @@ namespace detail
 
 #include "quaternion.inl"
 
-#endif//glm_gtc_quaternion
+#endif//GLM_GTC_quaternion

+ 3 - 3
glm/gtc/swizzle.hpp

@@ -35,8 +35,8 @@
 /// <glm/gtc/swizzle.hpp> need to be included to use these functionalities.
 ///////////////////////////////////////////////////////////////////////////////////
 
-#ifndef glm_gtc_swizzle
-#define glm_gtc_swizzle
+#ifndef GLM_GTC_swizzle
+#define GLM_GTC_swizzle 90
 
 // Dependency:
 #include "../glm.hpp"
@@ -372,4 +372,4 @@ namespace glm
 
 #include "swizzle.inl"
 
-#endif//glm_gtc_swizzle
+#endif//GLM_GTC_swizzle

+ 3 - 3
glm/gtc/type_precision.hpp

@@ -40,8 +40,8 @@
 /// <glm/gtc/type_precision.hpp> need to be included to use these functionalities.
 ///////////////////////////////////////////////////////////////////////////////////
 
-#ifndef glm_gtc_type_precision
-#define glm_gtc_type_precision
+#ifndef GLM_GTC_type_precision
+#define GLM_GTC_type_precision 100
 
 // Dependency:
 #include "../glm.hpp"
@@ -232,4 +232,4 @@ namespace glm
 
 #include "type_precision.inl"
 
-#endif//glm_gtc_type_precision
+#endif//GLM_GTC_type_precision

+ 3 - 3
glm/gtc/type_ptr.hpp

@@ -56,8 +56,8 @@
 /// <glm/gtc/type_ptr.hpp> need to be included to use these functionalities.
 ///////////////////////////////////////////////////////////////////////////////////
 
-#ifndef glm_gtc_type_ptr
-#define glm_gtc_type_ptr
+#ifndef GLM_GTC_type_ptr
+#define GLM_GTC_type_ptr 90
 
 // Dependency:
 #include "../glm.hpp"
@@ -505,5 +505,5 @@ namespace glm
 
 #include "type_ptr.inl"
 
-#endif//glm_gtx_type_ptr
+#endif//GLM_GTC_type_ptr