Browse Source

Deprecated GLM_GTX_simd_mat4, GLM_GTX_simd_vec4 and GLM_GTX_simd_quat

Christophe Riccio 9 years ago
parent
commit
29fa0f1607
4 changed files with 6 additions and 0 deletions
  1. 1 0
      glm/gtx/simd_mat4.hpp
  2. 1 0
      glm/gtx/simd_quat.hpp
  3. 1 0
      glm/gtx/simd_vec4.hpp
  4. 3 0
      readme.md

+ 1 - 0
glm/gtx/simd_mat4.hpp

@@ -26,6 +26,7 @@
 
 
 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
 #	pragma message("GLM: GLM_GTX_simd_mat4 extension included")
 #	pragma message("GLM: GLM_GTX_simd_mat4 extension included")
+#	pragma message("GLM: GLM_GTX_simd_mat4 extension is deprecated and will be removed in GLM 0.9.9. Use mat4 instead and use compiler SIMD arguments.")
 #endif
 #endif
 
 
 namespace glm{
 namespace glm{

+ 1 - 0
glm/gtx/simd_quat.hpp

@@ -27,6 +27,7 @@
 
 
 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
 #	pragma message("GLM: GLM_GTX_simd_quat extension included")
 #	pragma message("GLM: GLM_GTX_simd_quat extension included")
+#	pragma message("GLM: GLM_GTX_simd_quat extension is deprecated and will be removed in GLM 0.9.9. Use GLM_GTC_quaternion instead and use compiler SIMD arguments.")
 #endif
 #endif
 
 
 // Warning silencer for nameless struct/union.
 // Warning silencer for nameless struct/union.

+ 1 - 0
glm/gtx/simd_vec4.hpp

@@ -27,6 +27,7 @@
 
 
 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
 #	pragma message("GLM: GLM_GTX_simd_vec4 extension included")
 #	pragma message("GLM: GLM_GTX_simd_vec4 extension included")
+#	pragma message("GLM: GLM_GTX_simd_vec4 extension is deprecated and will be removed in GLM 0.9.9. Use *vec4 types instead and use compiler SIMD arguments.")
 #endif
 #endif
 
 
 
 

+ 3 - 0
readme.md

@@ -84,6 +84,9 @@ glm::mat4 camera(float Translate, glm::vec2 const & Rotate)
 
 
 ##### Deprecation:
 ##### Deprecation:
 - Removed GLM_FORCE_SIZE_FUNC define
 - Removed GLM_FORCE_SIZE_FUNC define
+- Deprecated GLM_GTX_simd_vec4 extension
+- Deprecated GLM_GTX_simd_mat4 extension
+- Deprecated GLM_GTX_simd_quat extension
 
 
 #### [GLM 0.9.7.5](https://github.com/g-truc/glm/releases/tag/0.9.7.5) - 2016-05-24
 #### [GLM 0.9.7.5](https://github.com/g-truc/glm/releases/tag/0.9.7.5) - 2016-05-24
 ##### Improvements:
 ##### Improvements: