@@ -734,6 +734,6 @@ namespace detail
}
}//namespace glm
-#if GLM_ARCH != GLM_FORCE_PURE
+#if GLM_ARCH != GLM_ARCH_PURE
# include "func_common_simd.inl"
#endif
@@ -171,6 +171,6 @@ namespace detail
# include "func_geometric_simd.inl"
@@ -359,7 +359,7 @@ namespace detail
# include "func_integer_simd.inl"
@@ -279,7 +279,7 @@ namespace detail
# include "func_matrix_simd.inl"
@@ -759,6 +759,6 @@ namespace detail
# include "type_mat4x4_simd.inl"
@@ -1180,6 +1180,6 @@ namespace glm
# include "type_vec4_simd.inl"
@@ -113,6 +113,13 @@ int test_vec3_ctor()
return Error;
+float foo()
+{
+ glm::vec3 bar = glm::vec3(0.0f, 1.0f, 1.0f);
+
+ return glm::length(bar);
+}
int test_vec3_operators()
{
int Error = 0;