浏览代码

Enable GLM_FORCE_EXPLICIT_CTOR in test for xyz and friends

Adam Lusch 1 月之前
父节点
当前提交
b0a359c6f3
共有 1 个文件被更改,包括 3 次插入0 次删除
  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