Sfoglia il codice sorgente

Enable GLM_FORCE_EXPLICIT_CTOR in test for xyz and friends

Adam Lusch 1 mese fa
parent
commit
b0a359c6f3
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  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>
 
 #if GLM_CONFIG_ALIGNED_GENTYPES == GLM_ENABLE