From 017e97d5547053ea328a1ae4f90eed4764d3137a Mon Sep 17 00:00:00 2001 From: plasmacel Date: Mon, 24 Nov 2014 01:34:36 +0100 Subject: [PATCH] Update quaternion.inl --- glm/gtc/quaternion.inl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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); }