Browse Source

Enable GLM_FORCE_EXPLICIT_CTOR in test for xyz and friends

Adam Lusch 2 months ago
parent
commit
b0a359c6f3
1 changed files with 3 additions and 0 deletions
  1. 3 0
      test/gtc/gtc_type_aligned.cpp

+ 3 - 0
test/gtc/gtc_type_aligned.cpp

@@ -1,3 +1,6 @@
+// Force explicit ctors in this test to catch returning the wrong vector size from e.g. glm::xyz
+#define GLM_FORCE_EXPLICIT_CTOR
+
 #include <glm/glm.hpp>
 #include <glm/glm.hpp>
 
 
 #if GLM_CONFIG_ALIGNED_GENTYPES == GLM_ENABLE
 #if GLM_CONFIG_ALIGNED_GENTYPES == GLM_ENABLE