Added message for GLM_SWIZZLE deprecation

This commit is contained in:
Christophe Riccio 2018-10-24 14:54:12 +02:00
parent b8ee874742
commit 980dfabcd7

View File

@ -429,6 +429,11 @@
# undef GLM_FORCE_SWIZZLE
#endif
#if defined(GLM_SWIZZLE)
# pragma message("GLM: GLM_SWIZZLE is deprecated, use GLM_FORCE_SWIZZLE instead.")
# define GLM_FORCE_SWIZZLE
#endif
#if defined(GLM_FORCE_SWIZZLE) && (GLM_LANG & GLM_LANG_CXXMS_FLAG)
# define GLM_CONFIG_SWIZZLE GLM_SWIZZLE_OPERATOR
#elif defined(GLM_FORCE_SWIZZLE)