mirror of
https://github.com/g-truc/glm.git
synced 2024-11-13 22:01:46 +00:00
Fixed swizzle build on VC
This commit is contained in:
parent
6f9a194c2c
commit
27a1b24835
@ -448,7 +448,7 @@
|
|||||||
#define GLM_SWIZZLE_OPERATOR 1
|
#define GLM_SWIZZLE_OPERATOR 1
|
||||||
#define GLM_SWIZZLE_FUNCTION 2
|
#define GLM_SWIZZLE_FUNCTION 2
|
||||||
|
|
||||||
#if defined(GLM_FORCE_SWIZZLE) && !defined(GLM_FORCE_XYZW_ONLY) && (GLM_LANG & GLM_LANG_CXX11_FLAG) && (GLM_LANG & GLM_LANG_CXXMS_FLAG)
|
#if defined(GLM_FORCE_SWIZZLE) && !defined(GLM_FORCE_XYZW_ONLY) && (GLM_LANG & GLM_LANG_CXX0X_FLAG) && (GLM_LANG & GLM_LANG_CXXMS_FLAG)
|
||||||
# define GLM_CONFIG_SWIZZLE GLM_SWIZZLE_OPERATOR
|
# define GLM_CONFIG_SWIZZLE GLM_SWIZZLE_OPERATOR
|
||||||
#elif defined(GLM_FORCE_SWIZZLE) && !defined(GLM_FORCE_XYZW_ONLY)
|
#elif defined(GLM_FORCE_SWIZZLE) && !defined(GLM_FORCE_XYZW_ONLY)
|
||||||
# define GLM_CONFIG_SWIZZLE GLM_SWIZZLE_FUNCTION
|
# define GLM_CONFIG_SWIZZLE GLM_SWIZZLE_FUNCTION
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
/// @ref gtx_compatibility
|
|
||||||
|
|
||||||
#include <limits>
|
#include <limits>
|
||||||
|
|
||||||
namespace glm
|
namespace glm
|
||||||
|
Loading…
Reference in New Issue
Block a user