diff --git a/glm/gtc/quaternion.inl b/glm/gtc/quaternion.inl index df92920a..e262c663 100644 --- a/glm/gtc/quaternion.inl +++ b/glm/gtc/quaternion.inl @@ -147,20 +147,6 @@ namespace detail{ ////////////////////////////////////////////////////////////// // tquat external operators - template - GLM_FUNC_QUALIFIER detail::tquat operator* - ( - detail::tquat const & q, - detail::tquat const & p - ) - { - return detail::tquat( - q.w + p.w, - q.x + p.x, - q.y + p.y, - q.z + p.z); - } - template GLM_FUNC_QUALIFIER detail::tquat operator- ( diff --git a/test/gtc/gtc_quaternion.cpp b/test/gtc/gtc_quaternion.cpp index 689cfe27..00ed0503 100644 --- a/test/gtc/gtc_quaternion.cpp +++ b/test/gtc/gtc_quaternion.cpp @@ -27,7 +27,7 @@ int test_quat_slerp() glm::quat B(90.0f, glm::vec3(0, 0, 1)); glm::quat C = glm::mix(A, B, 0.5f); - Error += C != glm::quat(45.f, glm::vec3(0, 0, 1)) ? 0 : 1; + Error += C == glm::quat(45.f, glm::vec3(0, 0, 1)) ? 0 : 1; return Error; }