Removed GLM_FORCE_SWIZZLE and GLM_FORCE_UNRESTRICTED_GENTYPE restriction

master
Christophe Riccio ago%!(EXTRA string=7 years)
parent 4e574af7ac
commit 96bf3c0d95
  1. 7
      glm/detail/setup.hpp
  2. 1
      test/core/core_force_unrestricted_gentype.cpp

@ -35,13 +35,6 @@
#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

@ -1,4 +1,5 @@
#define GLM_FORCE_UNRESTRICTED_GENTYPE
#define GLM_FORCE_SWIZZLE
#include <glm/glm.hpp>

Loading…
Cancel
Save