diff --git a/glm/gtc/quaternion.inl b/glm/gtc/quaternion.inl index 27a5c541..d4e33aaa 100644 --- a/glm/gtc/quaternion.inl +++ b/glm/gtc/quaternion.inl @@ -147,6 +147,20 @@ 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- (