diff --git a/glm/detail/func_common.inl b/glm/detail/func_common.inl index 3735402d..8e4e01ec 100644 --- a/glm/detail/func_common.inl +++ b/glm/detail/func_common.inl @@ -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 diff --git a/glm/detail/func_geometric.inl b/glm/detail/func_geometric.inl index a89fac16..5cd51dd6 100644 --- a/glm/detail/func_geometric.inl +++ b/glm/detail/func_geometric.inl @@ -171,6 +171,6 @@ namespace detail } }//namespace glm -#if GLM_ARCH != GLM_FORCE_PURE +#if GLM_ARCH != GLM_ARCH_PURE # include "func_geometric_simd.inl" #endif diff --git a/glm/detail/func_integer.inl b/glm/detail/func_integer.inl index ec4b7047..20445034 100644 --- a/glm/detail/func_integer.inl +++ b/glm/detail/func_integer.inl @@ -359,7 +359,7 @@ namespace detail } }//namespace glm -#if GLM_ARCH != GLM_FORCE_PURE +#if GLM_ARCH != GLM_ARCH_PURE # include "func_integer_simd.inl" #endif diff --git a/glm/detail/func_matrix.inl b/glm/detail/func_matrix.inl index a65e656e..d1be5a58 100644 --- a/glm/detail/func_matrix.inl +++ b/glm/detail/func_matrix.inl @@ -279,7 +279,7 @@ namespace detail } }//namespace glm -#if GLM_ARCH != GLM_FORCE_PURE +#if GLM_ARCH != GLM_ARCH_PURE # include "func_matrix_simd.inl" #endif diff --git a/glm/detail/type_mat4x4.inl b/glm/detail/type_mat4x4.inl index c88547b9..e9510a74 100644 --- a/glm/detail/type_mat4x4.inl +++ b/glm/detail/type_mat4x4.inl @@ -759,6 +759,6 @@ namespace detail } }//namespace glm -#if GLM_ARCH != GLM_FORCE_PURE +#if GLM_ARCH != GLM_ARCH_PURE # include "type_mat4x4_simd.inl" #endif diff --git a/glm/detail/type_vec4.inl b/glm/detail/type_vec4.inl index efee09d6..56ad58a9 100644 --- a/glm/detail/type_vec4.inl +++ b/glm/detail/type_vec4.inl @@ -1180,6 +1180,6 @@ namespace glm } }//namespace glm -#if GLM_ARCH != GLM_FORCE_PURE +#if GLM_ARCH != GLM_ARCH_PURE # include "type_vec4_simd.inl" #endif diff --git a/test/core/core_type_vec3.cpp b/test/core/core_type_vec3.cpp index b2ad2a40..e27b78ae 100644 --- a/test/core/core_type_vec3.cpp +++ b/test/core/core_type_vec3.cpp @@ -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;