mirror of
https://github.com/g-truc/glm.git
synced 2024-11-29 11:24:35 +00:00
Removed GLM_FORCE_SWIZZLE and GLM_FORCE_UNRESTRICTED_GENTYPE restriction
This commit is contained in:
parent
4e574af7ac
commit
96bf3c0d95
@ -35,13 +35,6 @@
|
|||||||
|
|
||||||
#include "../simd/platform.h"
|
#include "../simd/platform.h"
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////////
|
|
||||||
// Incompatible GLM_FORCE defines
|
|
||||||
|
|
||||||
#if defined(GLM_FORCE_SWIZZLE) && defined(GLM_FORCE_UNRESTRICTED_GENTYPE)
|
|
||||||
# error "Both GLM_FORCE_SWIZZLE and GLM_FORCE_UNRESTRICTED_GENTYPE can't be defined at the same time"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////////
|
||||||
// Build model
|
// Build model
|
||||||
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
#define GLM_FORCE_UNRESTRICTED_GENTYPE
|
#define GLM_FORCE_UNRESTRICTED_GENTYPE
|
||||||
|
#define GLM_FORCE_SWIZZLE
|
||||||
|
|
||||||
#include <glm/glm.hpp>
|
#include <glm/glm.hpp>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user