From 04d9fa2d45de6ae3b31901bbb95d15f83c7273ef Mon Sep 17 00:00:00 2001 From: David Reid Date: Fri, 21 Mar 2014 18:49:27 +1000 Subject: [PATCH] Fix simd_quat build. --- glm/gtx/simd_quat.hpp | 2 -- glm/gtx/simd_quat.inl | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/glm/gtx/simd_quat.hpp b/glm/gtx/simd_quat.hpp index 80b3c726..1658cca4 100644 --- a/glm/gtx/simd_quat.hpp +++ b/glm/gtx/simd_quat.hpp @@ -46,8 +46,6 @@ #if(GLM_ARCH != GLM_ARCH_PURE) #if(GLM_ARCH & GLM_ARCH_SSE2) -# include "../core/intrinsic_common.hpp" -# include "../core/intrinsic_geometric.hpp" # include "../gtx/simd_mat4.hpp" #else # error "GLM: GLM_GTX_simd_quat requires compiler support of SSE2 through intrinsics" diff --git a/glm/gtx/simd_quat.inl b/glm/gtx/simd_quat.inl index 983c32a0..9bbc254d 100644 --- a/glm/gtx/simd_quat.inl +++ b/glm/gtx/simd_quat.inl @@ -194,7 +194,7 @@ GLM_FUNC_QUALIFIER fvec4SIMD operator* (fquatSIMD const & q, fvec4SIMD const & v GLM_FUNC_QUALIFIER fvec4SIMD operator* (fvec4SIMD const & v, fquatSIMD const & q) { - return inverse(q) * v; + return glm::inverse(q) * v; } GLM_FUNC_QUALIFIER fquatSIMD operator* (fquatSIMD const & q, float s)