Prechádzať zdrojové kódy

Extensions included have a define which value is GLM_VERSION

Christophe Riccio 14 rokov pred
rodič
commit
51716bb460
70 zmenil súbory, kde vykonal 108 pridanie a 90 odobranie
  1. 1 1
      glm/gtc/half_float.hpp
  2. 1 1
      glm/gtc/matrix_access.hpp
  3. 1 1
      glm/gtc/matrix_integer.hpp
  4. 1 1
      glm/gtc/matrix_inverse.hpp
  5. 1 1
      glm/gtc/matrix_transform.hpp
  6. 37 19
      glm/gtc/quaternion.hpp
  7. 1 1
      glm/gtc/swizzle.hpp
  8. 1 1
      glm/gtc/type_precision.hpp
  9. 1 1
      glm/gtc/type_ptr.hpp
  10. 1 1
      glm/gtx/associated_min_max.hpp
  11. 1 1
      glm/gtx/bit.hpp
  12. 1 1
      glm/gtx/closest_point.hpp
  13. 1 1
      glm/gtx/color_cast.hpp
  14. 1 1
      glm/gtx/color_space.hpp
  15. 1 1
      glm/gtx/color_space_YCoCg.hpp
  16. 1 1
      glm/gtx/compatibility.hpp
  17. 1 1
      glm/gtx/component_wise.hpp
  18. 1 1
      glm/gtx/epsilon.hpp
  19. 1 1
      glm/gtx/euler_angles.hpp
  20. 1 1
      glm/gtx/extend.hpp
  21. 1 1
      glm/gtx/extented_min_max.hpp
  22. 1 1
      glm/gtx/fast_exponential.hpp
  23. 1 1
      glm/gtx/fast_square_root.hpp
  24. 1 1
      glm/gtx/fast_trigonometry.hpp
  25. 1 1
      glm/gtx/gradient_paint.hpp
  26. 1 1
      glm/gtx/handed_coordinate_space.hpp
  27. 1 1
      glm/gtx/inertia.hpp
  28. 1 1
      glm/gtx/int_10_10_10_2.hpp
  29. 1 1
      glm/gtx/integer.hpp
  30. 1 1
      glm/gtx/intersect.hpp
  31. 1 1
      glm/gtx/log_base.hpp
  32. 1 1
      glm/gtx/matrix_cross_product.hpp
  33. 1 1
      glm/gtx/matrix_interpolation.hpp
  34. 1 1
      glm/gtx/matrix_major_storage.hpp
  35. 1 1
      glm/gtx/matrix_operation.hpp
  36. 1 1
      glm/gtx/matrix_query.hpp
  37. 1 1
      glm/gtx/mixed_product.hpp
  38. 1 1
      glm/gtx/multiple.hpp
  39. 1 1
      glm/gtx/noise.hpp
  40. 1 1
      glm/gtx/norm.hpp
  41. 1 1
      glm/gtx/normal.hpp
  42. 1 1
      glm/gtx/normalize_dot.hpp
  43. 1 1
      glm/gtx/number_precision.hpp
  44. 1 1
      glm/gtx/ocl_type.hpp
  45. 1 1
      glm/gtx/optimum_pow.hpp
  46. 1 1
      glm/gtx/orthonormalize.hpp
  47. 1 1
      glm/gtx/perpendicular.hpp
  48. 1 1
      glm/gtx/polar_coordinates.hpp
  49. 1 1
      glm/gtx/projection.hpp
  50. 1 1
      glm/gtx/quaternion.hpp
  51. 1 1
      glm/gtx/random.hpp
  52. 1 1
      glm/gtx/raw_data.hpp
  53. 1 1
      glm/gtx/reciprocal.hpp
  54. 1 1
      glm/gtx/rotate_vector.hpp
  55. 1 1
      glm/gtx/simd_mat4.hpp
  56. 1 1
      glm/gtx/simd_vec4.hpp
  57. 1 1
      glm/gtx/spline.hpp
  58. 1 1
      glm/gtx/std_based_type.hpp
  59. 1 1
      glm/gtx/string_cast.hpp
  60. 1 1
      glm/gtx/transform.hpp
  61. 1 1
      glm/gtx/transform2.hpp
  62. 1 1
      glm/gtx/ulp.hpp
  63. 1 1
      glm/gtx/unsigned_int.hpp
  64. 1 1
      glm/gtx/vec1.hpp
  65. 1 1
      glm/gtx/vector_access.hpp
  66. 1 1
      glm/gtx/vector_angle.hpp
  67. 1 1
      glm/gtx/vector_query.hpp
  68. 1 1
      glm/gtx/verbose_operator.hpp
  69. 1 1
      glm/gtx/wrap.hpp
  70. 3 3
      glm/virtrev/xstream.hpp

+ 1 - 1
glm/gtc/half_float.hpp

@@ -35,7 +35,7 @@
 ///////////////////////////////////////////////////////////////////////////////////
 
 #ifndef GLM_GTC_half_float
-#define GLM_GTC_half_float 90
+#define GLM_GTC_half_float GLM_VERSION
 
 // Dependency:
 #include "../glm.hpp"

+ 1 - 1
glm/gtc/matrix_access.hpp

@@ -35,7 +35,7 @@
 ///////////////////////////////////////////////////////////////////////////////////
 
 #ifndef GLM_GTC_matrix_access
-#define GLM_GTC_matrix_access 90
+#define GLM_GTC_matrix_access GLM_VERSION
 
 // Dependency:
 #include "../glm.hpp"

+ 1 - 1
glm/gtc/matrix_integer.hpp

@@ -35,7 +35,7 @@
 ///////////////////////////////////////////////////////////////////////////////////
 
 #ifndef GLM_GTC_matrix_integer
-#define GLM_GTC_matrix_integer 90
+#define GLM_GTC_matrix_integer GLM_VERSION
 
 // Dependency:
 #include "../glm.hpp"

+ 1 - 1
glm/gtc/matrix_inverse.hpp

@@ -35,7 +35,7 @@
 ///////////////////////////////////////////////////////////////////////////////////
 
 #ifndef GLM_GTC_matrix_inverse
-#define GLM_GTC_matrix_inverse 90
+#define GLM_GTC_matrix_inverse GLM_VERSION
 
 // Dependency:
 #include "../glm.hpp"

+ 1 - 1
glm/gtc/matrix_transform.hpp

@@ -44,7 +44,7 @@
 ///////////////////////////////////////////////////////////////////////////////////
 
 #ifndef GLM_GTC_matrix_transform
-#define GLM_GTC_matrix_transform 90
+#define GLM_GTC_matrix_transform GLM_VERSION
 
 // Dependency:
 #include "../glm.hpp"

+ 37 - 19
glm/gtc/quaternion.hpp

@@ -37,7 +37,7 @@
 ///////////////////////////////////////////////////////////////////////////////////
 
 #ifndef GLM_GTC_quaternion
-#define GLM_GTC_quaternion 90
+#define GLM_GTC_quaternion GLM_VERSION
 
 // Dependency:
 #include "../glm.hpp"
@@ -151,26 +151,30 @@ namespace detail
 	/// @{
 
 	//! Returns the length of the quaternion. 
-	//! From GLM_GTC_quaternion extension.
+	/// 
+	/// @see - gtc_quaternion
     template <typename T> 
     T length(
 		detail::tquat<T> const & q);
 
     //! Returns the normalized quaternion. 
-	//! From GLM_GTC_quaternion extension.
+	/// 
+	/// @see - gtc_quaternion
 	template <typename T> 
 	detail::tquat<T> normalize(
 		detail::tquat<T> const & q);
 		
     //! Returns dot product of q1 and q2, i.e., q1[0] * q2[0] + q1[1] * q2[1] + ... 
-	//! From GLM_GTC_quaternion extension.
+	/// 
+	/// @see - gtc_quaternion
 	template <typename T> 
 	T dot(
 		detail::tquat<T> const & q1, 
 		detail::tquat<T> const & q2);
 
 	//! Returns a SLERP interpolated quaternion of x and y according a. 
-	//! From GLM_GTC_quaternion extension.
+	/// 
+	/// @see - gtc_quaternion
 	template <typename T> 
 	detail::tquat<T> mix(
 		detail::tquat<T> const & x, 
@@ -178,19 +182,22 @@ namespace detail
 		T const & a);
 		
 	//! Returns the q conjugate. 
-	//! From GLM_GTC_quaternion extension.
+	/// 
+	/// @see - gtc_quaternion
     template <typename T> 
 	detail::tquat<T> conjugate(
 		detail::tquat<T> const & q);
 
 	//! Returns the q inverse. 
-	//! From GLM_GTC_quaternion extension.
+	/// 
+	/// @see - gtc_quaternion
     template <typename T> 
 	detail::tquat<T> inverse(
 		detail::tquat<T> const & q);
 
 	//! Rotates a quaternion from an vector of 3 components axis and an angle expressed in degrees.
-	//! From GLM_GTC_quaternion extension.
+	/// 
+	/// @see - gtc_quaternion
 	template <typename T> 
 	detail::tquat<T> rotate(
 		detail::tquat<T> const & q, 
@@ -198,55 +205,66 @@ namespace detail
 		detail::tvec3<T> const & v);
 
 	//! Converts a quaternion to a 3 * 3 matrix. 
-	//! From GLM_GTC_quaternion extension.
+	/// 
+	/// @see - gtc_quaternion
     template <typename T> 
 	detail::tmat3x3<T> mat3_cast(
 		detail::tquat<T> const & x);
 
 	//! Converts a quaternion to a 4 * 4 matrix. 
-	//! From GLM_GTC_quaternion extension.
+	/// 
+	/// @see - gtc_quaternion
 	template <typename T> 
 	detail::tmat4x4<T> mat4_cast(
 		detail::tquat<T> const & x);
 
 	//! Converts a 3 * 3 matrix to a quaternion. 
-	//! From GLM_GTC_quaternion extension.
+	/// 
+	/// @see - gtc_quaternion
 	template <typename T> 
 	detail::tquat<T> quat_cast(
 		detail::tmat3x3<T> const & x);
 
 	//! Converts a 4 * 4 matrix to a quaternion. 
-	//! From GLM_GTC_quaternion extension.
+	/// 
+	/// @see - gtc_quaternion
 	template <typename T> 
 	detail::tquat<T> quat_cast(
 		detail::tmat4x4<T> const & x);
 
 	//! Quaternion of floating-point numbers. 
-	//! From GLM_GTC_quaternion extension.
+	/// 
+	/// @see - gtc_quaternion
     typedef detail::tquat<float> quat;
 
 	//! Quaternion of half-precision floating-point numbers.
-	//! From GLM_GTC_quaternion extension.
+	/// 
+	/// @see - gtc_quaternion
 	typedef detail::tquat<detail::thalf>	hquat;
 
 	//! Quaternion of single-precision floating-point numbers. 
-	//! From GLM_GTC_quaternion extension.
+	/// 
+	/// @see - gtc_quaternion
 	typedef detail::tquat<float>	fquat;
 
 	//! Quaternion of double-precision floating-point numbers. 
-	//! From GLM_GTC_quaternion extension.
+	/// 
+	/// @see - gtc_quaternion
 	typedef detail::tquat<double>	dquat;
 
 	//! Quaternion of low precision floating-point numbers.
-	//! From GLM_GTC_quaternion extension.
+	/// 
+	/// @see - gtc_quaternion
 	typedef detail::tquat<lowp_float>		lowp_quat;
 
 	//! Quaternion of medium precision floating-point numbers. 
-	//! From GLM_GTC_quaternion extension.
+	/// 
+	/// @see - gtc_quaternion
 	typedef detail::tquat<mediump_float>	mediump_quat;
 
 	//! Quaternion of high precision floating-point numbers. 
-	//! From GLM_GTC_quaternion extension.
+	/// 
+	/// @see - gtc_quaternion
 	typedef detail::tquat<highp_float>		highp_quat;
 
 	/// @}

+ 1 - 1
glm/gtc/swizzle.hpp

@@ -36,7 +36,7 @@
 ///////////////////////////////////////////////////////////////////////////////////
 
 #ifndef GLM_GTC_swizzle
-#define GLM_GTC_swizzle 90
+#define GLM_GTC_swizzle GLM_VERSION
 
 // Dependency:
 #include "../glm.hpp"

+ 1 - 1
glm/gtc/type_precision.hpp

@@ -41,7 +41,7 @@
 ///////////////////////////////////////////////////////////////////////////////////
 
 #ifndef GLM_GTC_type_precision
-#define GLM_GTC_type_precision 100
+#define GLM_GTC_type_precision GLM_VERSION
 
 // Dependency:
 #include "../glm.hpp"

+ 1 - 1
glm/gtc/type_ptr.hpp

@@ -57,7 +57,7 @@
 ///////////////////////////////////////////////////////////////////////////////////
 
 #ifndef GLM_GTC_type_ptr
-#define GLM_GTC_type_ptr 90
+#define GLM_GTC_type_ptr GLM_VERSION
 
 // Dependency:
 #include "../glm.hpp"

+ 1 - 1
glm/gtx/associated_min_max.hpp

@@ -36,7 +36,7 @@
 ///////////////////////////////////////////////////////////////////////////////////
 
 #ifndef GLM_GTX_associated_min_max
-#define GLM_GTX_associated_min_max 50
+#define GLM_GTX_associated_min_max GLM_VERSION
 
 // Dependency:
 #include "../glm.hpp"

+ 1 - 1
glm/gtx/bit.hpp

@@ -37,7 +37,7 @@
 ///////////////////////////////////////////////////////////////////////////////////
 
 #ifndef GLM_GTX_bit
-#define GLM_GTX_bit 50
+#define GLM_GTX_bit GLM_VERSION
 
 // Dependency:
 #include "../glm.hpp"

+ 1 - 1
glm/gtx/closest_point.hpp

@@ -36,7 +36,7 @@
 ///////////////////////////////////////////////////////////////////////////////////
 
 #ifndef GLM_GTX_closest_point
-#define GLM_GTX_closest_point 50
+#define GLM_GTX_closest_point GLM_VERSION
 
 // Dependency:
 #include "../glm.hpp"

+ 1 - 1
glm/gtx/color_cast.hpp

@@ -37,7 +37,7 @@
 ///////////////////////////////////////////////////////////////////////////////////
 
 #ifndef GLM_GTX_color_cast
-#define GLM_GTX_color_cast 50
+#define GLM_GTX_color_cast GLM_VERSION
 
 // Dependency:
 #include "../glm.hpp"

+ 1 - 1
glm/gtx/color_space.hpp

@@ -36,7 +36,7 @@
 ///////////////////////////////////////////////////////////////////////////////////
 
 #ifndef GLM_GTX_color_space
-#define GLM_GTX_color_space 50
+#define GLM_GTX_color_space GLM_VERSION
 
 // Dependency:
 #include "../glm.hpp"

+ 1 - 1
glm/gtx/color_space_YCoCg.hpp

@@ -36,7 +36,7 @@
 ///////////////////////////////////////////////////////////////////////////////////
 
 #ifndef glm_gtx_color_space_YCoCg
-#define glm_gtx_color_space_YCoCg 50
+#define glm_gtx_color_space_YCoCg GLM_VERSION
 
 // Dependency:
 #include "../glm.hpp"

+ 1 - 1
glm/gtx/compatibility.hpp

@@ -37,7 +37,7 @@
 ///////////////////////////////////////////////////////////////////////////////////
 
 #ifndef GLM_GTX_compatibility
-#define GLM_GTX_compatibility 50
+#define GLM_GTX_compatibility GLM_VERSION
 
 // Dependency:
 #include "../glm.hpp"  

+ 1 - 1
glm/gtx/component_wise.hpp

@@ -36,7 +36,7 @@
 ///////////////////////////////////////////////////////////////////////////////////
 
 #ifndef GLM_GTX_component_wise
-#define GLM_GTX_component_wise 50
+#define GLM_GTX_component_wise GLM_VERSION
 
 // Dependency:
 #include "../glm.hpp"

+ 1 - 1
glm/gtx/epsilon.hpp

@@ -38,7 +38,7 @@
 ///////////////////////////////////////////////////////////////////////////////////
 
 #ifndef GLM_GTX_epsilon
-#define GLM_GTX_epsilon 50
+#define GLM_GTX_epsilon GLM_VERSION
 
 // Dependency:
 #include "../glm.hpp"

+ 1 - 1
glm/gtx/euler_angles.hpp

@@ -37,7 +37,7 @@
 ///////////////////////////////////////////////////////////////////////////////////
 
 #ifndef GLM_GTX_euler_angles
-#define GLM_GTX_euler_angles 50
+#define GLM_GTX_euler_angles GLM_VERSION
 
 // Dependency:
 #include "../glm.hpp"

+ 1 - 1
glm/gtx/extend.hpp

@@ -36,7 +36,7 @@
 ///////////////////////////////////////////////////////////////////////////////////
 
 #ifndef GLM_GTX_extend
-#define GLM_GTX_extend 50
+#define GLM_GTX_extend GLM_VERSION
 
 // Dependency:
 #include "../glm.hpp"

+ 1 - 1
glm/gtx/extented_min_max.hpp

@@ -37,7 +37,7 @@
 ///////////////////////////////////////////////////////////////////////////////////
 
 #ifndef GLM_GTX_extented_min_max
-#define GLM_GTX_extented_min_max 50
+#define GLM_GTX_extented_min_max GLM_VERSION
 
 // Dependency:
 #include "../glm.hpp"

+ 1 - 1
glm/gtx/fast_exponential.hpp

@@ -37,7 +37,7 @@
 ///////////////////////////////////////////////////////////////////////////////////
 
 #ifndef GLM_GTX_fast_exponential
-#define GLM_GTX_fast_exponential 50
+#define GLM_GTX_fast_exponential GLM_VERSION
 
 // Dependency:
 #include "../glm.hpp"

+ 1 - 1
glm/gtx/fast_square_root.hpp

@@ -38,7 +38,7 @@
 ///////////////////////////////////////////////////////////////////////////////////
 
 #ifndef GLM_GTX_fast_square_root
-#define GLM_GTX_fast_square_root 50
+#define GLM_GTX_fast_square_root GLM_VERSION
 
 // Dependency:
 #include "../glm.hpp"

+ 1 - 1
glm/gtx/fast_trigonometry.hpp

@@ -36,7 +36,7 @@
 ///////////////////////////////////////////////////////////////////////////////////
 
 #ifndef GLM_GTX_fast_trigonometry
-#define GLM_GTX_fast_trigonometry 50
+#define GLM_GTX_fast_trigonometry GLM_VERSION
 
 // Dependency:
 #include "../glm.hpp"

+ 1 - 1
glm/gtx/gradient_paint.hpp

@@ -36,7 +36,7 @@
 ///////////////////////////////////////////////////////////////////////////////////
 
 #ifndef GLM_GTX_gradient_paint
-#define GLM_GTX_gradient_paint 50
+#define GLM_GTX_gradient_paint GLM_VERSION
 
 // Dependency:
 #include "../glm.hpp"

+ 1 - 1
glm/gtx/handed_coordinate_space.hpp

@@ -36,7 +36,7 @@
 ///////////////////////////////////////////////////////////////////////////////////
 
 #ifndef GLM_GTX_handed_coordinate_space
-#define GLM_GTX_handed_coordinate_space 50
+#define GLM_GTX_handed_coordinate_space GLM_VERSION
 
 // Dependency:
 #include "../glm.hpp"

+ 1 - 1
glm/gtx/inertia.hpp

@@ -37,7 +37,7 @@
 ///////////////////////////////////////////////////////////////////////////////////
 
 #ifndef GLM_GTX_inertia
-#define GLM_GTX_inertia 50
+#define GLM_GTX_inertia GLM_VERSION
 
 // Dependency:
 #include "../glm.hpp"

+ 1 - 1
glm/gtx/int_10_10_10_2.hpp

@@ -37,7 +37,7 @@
 ///////////////////////////////////////////////////////////////////////////////////
 
 #ifndef GLM_GTX_int_10_10_10_2
-#define GLM_GTX_int_10_10_10_2 50
+#define GLM_GTX_int_10_10_10_2 GLM_VERSION
 
 // Dependency:
 #include "../glm.hpp"

+ 1 - 1
glm/gtx/integer.hpp

@@ -36,7 +36,7 @@
 ///////////////////////////////////////////////////////////////////////////////////
 
 #ifndef GLM_GTX_integer
-#define GLM_GTX_integer 50
+#define GLM_GTX_integer GLM_VERSION
 
 // Dependency:
 #include "../glm.hpp"

+ 1 - 1
glm/gtx/intersect.hpp

@@ -37,7 +37,7 @@
 ///////////////////////////////////////////////////////////////////////////////////
 
 #ifndef GLM_GTX_intersect
-#define GLM_GTX_intersect 50
+#define GLM_GTX_intersect GLM_VERSION
 
 // Dependency:
 #include "../glm.hpp"

+ 1 - 1
glm/gtx/log_base.hpp

@@ -36,7 +36,7 @@
 ///////////////////////////////////////////////////////////////////////////////////
 
 #ifndef GLM_GTX_log_base
-#define GLM_GTX_log_base 50
+#define GLM_GTX_log_base GLM_VERSION
 
 // Dependency:
 #include "../glm.hpp"

+ 1 - 1
glm/gtx/matrix_cross_product.hpp

@@ -37,7 +37,7 @@
 ///////////////////////////////////////////////////////////////////////////////////
 
 #ifndef GLM_GTX_matrix_cross_product
-#define GLM_GTX_matrix_cross_product 50
+#define GLM_GTX_matrix_cross_product GLM_VERSION
 
 // Dependency:
 #include "../glm.hpp"

+ 1 - 1
glm/gtx/matrix_interpolation.hpp

@@ -36,7 +36,7 @@
 ///////////////////////////////////////////////////////////////////////////////////
 
 #ifndef GLM_GTX_matrix_interpolation
-#define GLM_GTX_matrix_interpolation 50
+#define GLM_GTX_matrix_interpolation GLM_VERSION
 
 // Dependency:
 //#include "../glm.hpp"

+ 1 - 1
glm/gtx/matrix_major_storage.hpp

@@ -37,7 +37,7 @@
 ///////////////////////////////////////////////////////////////////////////////////
 
 #ifndef GLM_GTX_matrix_major_storage
-#define GLM_GTX_matrix_major_storage 50
+#define GLM_GTX_matrix_major_storage GLM_VERSION
 
 // Dependency:
 #include "../glm.hpp"

+ 1 - 1
glm/gtx/matrix_operation.hpp

@@ -36,7 +36,7 @@
 ///////////////////////////////////////////////////////////////////////////////////
 
 #ifndef GLM_GTX_matrix_operation
-#define GLM_GTX_matrix_operation 50
+#define GLM_GTX_matrix_operation GLM_VERSION
 
 // Dependency:
 #include "../glm.hpp"

+ 1 - 1
glm/gtx/matrix_query.hpp

@@ -37,7 +37,7 @@
 ///////////////////////////////////////////////////////////////////////////////////
 
 #ifndef GLM_GTX_matrix_query
-#define GLM_GTX_matrix_query 50
+#define GLM_GTX_matrix_query GLM_VERSION
 
 // Dependency:
 #include "../glm.hpp"

+ 1 - 1
glm/gtx/mixed_product.hpp

@@ -36,7 +36,7 @@
 ///////////////////////////////////////////////////////////////////////////////////
 
 #ifndef GLM_GTX_mixed_product
-#define GLM_GTX_mixed_product 50
+#define GLM_GTX_mixed_product GLM_VERSION
 
 // Dependency:
 #include "../glm.hpp"

+ 1 - 1
glm/gtx/multiple.hpp

@@ -37,7 +37,7 @@
 ///////////////////////////////////////////////////////////////////////////////////
 
 #ifndef GLM_GTX_multiple
-#define GLM_GTX_multiple 50
+#define GLM_GTX_multiple GLM_VERSION
 
 // Dependency:
 #include "../glm.hpp"

+ 1 - 1
glm/gtx/noise.hpp

@@ -40,7 +40,7 @@
 ///////////////////////////////////////////////////////////////////////////////////
 
 #ifndef GLM_GTX_noise
-#define GLM_GTX_noise 50
+#define GLM_GTX_noise GLM_VERSION
 
 // Dependency:
 #include "../glm.hpp"

+ 1 - 1
glm/gtx/norm.hpp

@@ -37,7 +37,7 @@
 ///////////////////////////////////////////////////////////////////////////////////
 
 #ifndef GLM_GTX_norm
-#define GLM_GTX_norm 50
+#define GLM_GTX_norm GLM_VERSION
 
 // Dependency:
 #include "../glm.hpp"

+ 1 - 1
glm/gtx/normal.hpp

@@ -37,7 +37,7 @@
 ///////////////////////////////////////////////////////////////////////////////////
 
 #ifndef GLM_GTX_normal
-#define GLM_GTX_normal 50
+#define GLM_GTX_normal GLM_VERSION
 
 // Dependency:
 #include "../glm.hpp"

+ 1 - 1
glm/gtx/normalize_dot.hpp

@@ -37,7 +37,7 @@
 ///////////////////////////////////////////////////////////////////////////////////
 
 #ifndef GLM_GTX_normalize_dot
-#define GLM_GTX_normalize_dot 50
+#define GLM_GTX_normalize_dot GLM_VERSION
 
 // Dependency:
 #include "../glm.hpp"

+ 1 - 1
glm/gtx/number_precision.hpp

@@ -38,7 +38,7 @@
 ///////////////////////////////////////////////////////////////////////////////////
 
 #ifndef GLM_GTX_number_precision
-#define GLM_GTX_number_precision 50
+#define GLM_GTX_number_precision GLM_VERSION
 
 // Dependency:
 #include "../glm.hpp"

+ 1 - 1
glm/gtx/ocl_type.hpp

@@ -37,7 +37,7 @@
 ///////////////////////////////////////////////////////////////////////////////////
 
 #ifndef GLM_GTX_ocl_type
-#define GLM_GTX_ocl_type 50
+#define GLM_GTX_ocl_type GLM_VERSION
 
 // Dependency:
 #include "../glm.hpp"

+ 1 - 1
glm/gtx/optimum_pow.hpp

@@ -36,7 +36,7 @@
 ///////////////////////////////////////////////////////////////////////////////////
 
 #ifndef GLM_GTX_optimum_pow
-#define GLM_GTX_optimum_pow 50
+#define GLM_GTX_optimum_pow GLM_VERSION
 
 // Dependency:
 #include "../glm.hpp"

+ 1 - 1
glm/gtx/orthonormalize.hpp

@@ -37,7 +37,7 @@
 ///////////////////////////////////////////////////////////////////////////////////
 
 #ifndef GLM_GTX_orthonormalize
-#define GLM_GTX_orthonormalize 50
+#define GLM_GTX_orthonormalize GLM_VERSION
 
 // Dependency:
 #include "../glm.hpp"

+ 1 - 1
glm/gtx/perpendicular.hpp

@@ -37,7 +37,7 @@
 ///////////////////////////////////////////////////////////////////////////////////
 
 #ifndef GLM_GTX_perpendicular
-#define GLM_GTX_perpendicular 50
+#define GLM_GTX_perpendicular GLM_VERSION
 
 // Dependency:
 #include "../glm.hpp"

+ 1 - 1
glm/gtx/polar_coordinates.hpp

@@ -36,7 +36,7 @@
 ///////////////////////////////////////////////////////////////////////////////////
 
 #ifndef GLM_GTX_polar_coordinates
-#define GLM_GTX_polar_coordinates 50
+#define GLM_GTX_polar_coordinates GLM_VERSION
 
 // Dependency:
 #include "../glm.hpp"

+ 1 - 1
glm/gtx/projection.hpp

@@ -36,7 +36,7 @@
 ///////////////////////////////////////////////////////////////////////////////////
 
 #ifndef GLM_GTX_projection
-#define GLM_GTX_projection 50
+#define GLM_GTX_projection GLM_VERSION
 
 // Dependency:
 #include "../glm.hpp"

+ 1 - 1
glm/gtx/quaternion.hpp

@@ -37,7 +37,7 @@
 ///////////////////////////////////////////////////////////////////////////////////
 
 #ifndef GLM_GTX_quaternion
-#define GLM_GTX_quaternion 50
+#define GLM_GTX_quaternion GLM_VERSION
 
 // Dependency:
 #include "../glm.hpp"

+ 1 - 1
glm/gtx/random.hpp

@@ -37,7 +37,7 @@
 ///////////////////////////////////////////////////////////////////////////////////
 
 #ifndef GLM_GTX_random
-#define GLM_GTX_random 50
+#define GLM_GTX_random GLM_VERSION
 
 // Dependency:
 #include "../glm.hpp"

+ 1 - 1
glm/gtx/raw_data.hpp

@@ -36,7 +36,7 @@
 ///////////////////////////////////////////////////////////////////////////////////
 
 #ifndef GLM_GTX_raw_data
-#define GLM_GTX_raw_data 50
+#define GLM_GTX_raw_data GLM_VERSION
 
 // Dependency:
 #include "../glm.hpp"

+ 1 - 1
glm/gtx/reciprocal.hpp

@@ -36,7 +36,7 @@
 ///////////////////////////////////////////////////////////////////////////////////
 
 #ifndef GLM_GTX_reciprocal
-#define GLM_GTX_reciprocal 50
+#define GLM_GTX_reciprocal GLM_VERSION
 
 // Dependency:
 #include "../glm.hpp"

+ 1 - 1
glm/gtx/rotate_vector.hpp

@@ -37,7 +37,7 @@
 ///////////////////////////////////////////////////////////////////////////////////
 
 #ifndef GLM_GTX_rotate_vector
-#define GLM_GTX_rotate_vector 50
+#define GLM_GTX_rotate_vector GLM_VERSION
 
 // Dependency:
 #include "../glm.hpp"

+ 1 - 1
glm/gtx/simd_mat4.hpp

@@ -36,7 +36,7 @@
 ///////////////////////////////////////////////////////////////////////////////////
 
 #ifndef GLM_GTX_simd_mat4
-#define GLM_GTX_simd_mat4 50
+#define GLM_GTX_simd_mat4 GLM_VERSION
 
 // Dependency:
 #include "../glm.hpp"

+ 1 - 1
glm/gtx/simd_vec4.hpp

@@ -36,7 +36,7 @@
 ///////////////////////////////////////////////////////////////////////////////////
 
 #ifndef GLM_GTX_simd_vec4
-#define GLM_GTX_simd_vec4 50
+#define GLM_GTX_simd_vec4 GLM_VERSION
 
 // Dependency:
 #include "../glm.hpp"

+ 1 - 1
glm/gtx/spline.hpp

@@ -36,7 +36,7 @@
 ///////////////////////////////////////////////////////////////////////////////////
 
 #ifndef GLM_GTX_spline
-#define GLM_GTX_spline 50
+#define GLM_GTX_spline GLM_VERSION
 
 // Dependency:
 #include "../glm.hpp"

+ 1 - 1
glm/gtx/std_based_type.hpp

@@ -36,7 +36,7 @@
 ///////////////////////////////////////////////////////////////////////////////////
 
 #ifndef GLM_GTX_std_based_type
-#define GLM_GTX_std_based_type 50
+#define GLM_GTX_std_based_type GLM_VERSION
 
 // Dependency:
 #include "../glm.hpp"

+ 1 - 1
glm/gtx/string_cast.hpp

@@ -40,7 +40,7 @@
 ///////////////////////////////////////////////////////////////////////////////////
 
 #ifndef GLM_GTX_string_cast
-#define GLM_GTX_string_cast 50
+#define GLM_GTX_string_cast GLM_VERSION
 
 // Dependency:
 #include "../glm.hpp"

+ 1 - 1
glm/gtx/transform.hpp

@@ -39,7 +39,7 @@
 ///////////////////////////////////////////////////////////////////////////////////
 
 #ifndef GLM_GTX_transform 
-#define GLM_GTX_transform 50
+#define GLM_GTX_transform GLM_VERSION
 
 // Dependency:
 #include "../glm.hpp"

+ 1 - 1
glm/gtx/transform2.hpp

@@ -37,7 +37,7 @@
 ///////////////////////////////////////////////////////////////////////////////////
 
 #ifndef GLM_GTX_transform2
-#define GLM_GTX_transform2 50
+#define GLM_GTX_transform2 GLM_VERSION
 
 // Dependency:
 #include "../glm.hpp"

+ 1 - 1
glm/gtx/ulp.hpp

@@ -37,7 +37,7 @@
 ///////////////////////////////////////////////////////////////////////////////////
 
 #ifndef GLM_GTX_ulp
-#define GLM_GTX_ulp 50
+#define GLM_GTX_ulp GLM_VERSION
 
 // Dependency:
 #include "../glm.hpp"

+ 1 - 1
glm/gtx/unsigned_int.hpp

@@ -37,7 +37,7 @@
 ///////////////////////////////////////////////////////////////////////////////////
 
 #ifndef GLM_GTX_unsigned_int
-#define GLM_GTX_unsigned_int 50
+#define GLM_GTX_unsigned_int GLM_VERSION
 
 // Dependency:
 #include "../glm.hpp"

+ 1 - 1
glm/gtx/vec1.hpp

@@ -35,7 +35,7 @@
 ///////////////////////////////////////////////////////////////////////////////////
 
 #ifndef GLM_GTX_vec1
-#define GLM_GTX_vec1 50
+#define GLM_GTX_vec1 GLM_VERSION
 
 // Dependency:
 #include "../glm.hpp"

+ 1 - 1
glm/gtx/vector_access.hpp

@@ -36,7 +36,7 @@
 ///////////////////////////////////////////////////////////////////////////////////
 
 #ifndef GLM_GTX_vector_access
-#define GLM_GTX_vector_access 50
+#define GLM_GTX_vector_access GLM_VERSION
 
 // Dependency:
 #include "../glm.hpp"

+ 1 - 1
glm/gtx/vector_angle.hpp

@@ -38,7 +38,7 @@
 ///////////////////////////////////////////////////////////////////////////////////
 
 #ifndef GLM_GTX_vector_angle
-#define GLM_GTX_vector_angle 50
+#define GLM_GTX_vector_angle GLM_VERSION
 
 // Dependency:
 #include "../glm.hpp"

+ 1 - 1
glm/gtx/vector_query.hpp

@@ -36,7 +36,7 @@
 ///////////////////////////////////////////////////////////////////////////////////
 
 #ifndef GLM_GTX_vector_query
-#define GLM_GTX_vector_query 50
+#define GLM_GTX_vector_query GLM_VERSION
 
 // Dependency:
 #include "../glm.hpp"

+ 1 - 1
glm/gtx/verbose_operator.hpp

@@ -36,7 +36,7 @@
 ///////////////////////////////////////////////////////////////////////////////////
 
 #ifndef GLM_GTX_verbose_operator
-#define GLM_GTX_verbose_operator 50
+#define GLM_GTX_verbose_operator GLM_VERSION
 
 // Dependency:
 #include "../glm.hpp"

+ 1 - 1
glm/gtx/wrap.hpp

@@ -36,7 +36,7 @@
 ///////////////////////////////////////////////////////////////////////////////////
 
 #ifndef GLM_GTX_wrap
-#define GLM_GTX_wrap 50
+#define GLM_GTX_wrap GLM_VERSION
 
 // Dependency:
 #include "../glm.hpp"

+ 3 - 3
glm/virtrev/xstream.hpp

@@ -36,8 +36,8 @@
 /// Include <glm/virtrev/xstream.hpp> for this functionality.
 ///////////////////////////////////////////////////////////////////////////////////
 
-#ifndef GLM_VIRTREV_XSTREAM_INCLUDED
-#define GLM_VIRTREV_XSTREAM_INCLUDED
+#ifndef GLM_VIRTREV_xstream
+#define GLM_VIRTREV_xstream GLM_VERSION
 
 #include "../glm.hpp"
 #include "../gtc/matrix_access.hpp"
@@ -161,4 +161,4 @@ namespace glm
 
 }//namespace glm
 
-#endif//GLM_VIRTREV_XSTREAM_INCLUDED
+#endif//GLM_VIRTREV_xstream