From 4cb324c996c48d1f2ad3be32af27b18066eb3e3e Mon Sep 17 00:00:00 2001 From: Adam Lusch Date: Wed, 15 Oct 2025 11:01:23 -0500 Subject: [PATCH] Enable GLM_FORCE_EXPLICIT_CTOR in test for xyz and friends --- test/gtc/gtc_type_aligned.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/gtc/gtc_type_aligned.cpp b/test/gtc/gtc_type_aligned.cpp index e76bea3d7..b98131e16 100644 --- a/test/gtc/gtc_type_aligned.cpp +++ b/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 #if GLM_CONFIG_ALIGNED_GENTYPES == GLM_ENABLE