From 29fa0f1607ece8a3bf55971128192083689cff17 Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Sat, 28 May 2016 19:34:46 +0200 Subject: [PATCH] Deprecated GLM_GTX_simd_mat4, GLM_GTX_simd_vec4 and GLM_GTX_simd_quat --- glm/gtx/simd_mat4.hpp | 1 + glm/gtx/simd_quat.hpp | 1 + glm/gtx/simd_vec4.hpp | 1 + readme.md | 3 +++ 4 files changed, 6 insertions(+) diff --git a/glm/gtx/simd_mat4.hpp b/glm/gtx/simd_mat4.hpp index c91de39e..3a0b003b 100644 --- a/glm/gtx/simd_mat4.hpp +++ b/glm/gtx/simd_mat4.hpp @@ -26,6 +26,7 @@ #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 is deprecated and will be removed in GLM 0.9.9. Use mat4 instead and use compiler SIMD arguments.") #endif namespace glm{ diff --git a/glm/gtx/simd_quat.hpp b/glm/gtx/simd_quat.hpp index 7faccf3a..f92260ba 100644 --- a/glm/gtx/simd_quat.hpp +++ b/glm/gtx/simd_quat.hpp @@ -27,6 +27,7 @@ #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 is deprecated and will be removed in GLM 0.9.9. Use GLM_GTC_quaternion instead and use compiler SIMD arguments.") #endif // Warning silencer for nameless struct/union. diff --git a/glm/gtx/simd_vec4.hpp b/glm/gtx/simd_vec4.hpp index f6c17858..79343783 100644 --- a/glm/gtx/simd_vec4.hpp +++ b/glm/gtx/simd_vec4.hpp @@ -27,6 +27,7 @@ #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 is deprecated and will be removed in GLM 0.9.9. Use *vec4 types instead and use compiler SIMD arguments.") #endif diff --git a/readme.md b/readme.md index 6d5d5d84..6c2cbbb8 100644 --- a/readme.md +++ b/readme.md @@ -84,6 +84,9 @@ glm::mat4 camera(float Translate, glm::vec2 const & Rotate) ##### Deprecation: - 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 ##### Improvements: