2
0
Эх сурвалжийг харах

Enable GLM_FORCE_EXPLICIT_CTOR in test for xyz and friends

Adam Lusch 1 сар өмнө
parent
commit
b0a359c6f3

+ 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>
 
 #if GLM_CONFIG_ALIGNED_GENTYPES == GLM_ENABLE