diff --git a/glm/gtc/quaternion.inl b/glm/gtc/quaternion.inl index 18cf0ac0..049df569 100644 --- a/glm/gtc/quaternion.inl +++ b/glm/gtc/quaternion.inl @@ -173,12 +173,14 @@ namespace detail *this = quat_cast(m); } - GLM_FUNC_DECL explicit operator tmat3() + template + GLM_FUNC_QUALIFIER tquat::operator tmat3x3() { return mat3_cast(*this); } - GLM_FUNC_DECL explicit operator tmat4() + template + GLM_FUNC_QUALIFIER tquat::operator tmat4x4() { return mat4_cast(*this); }