Browse Source

Update quaternion.inl

plasmacel 11 years ago
parent
commit
017e97d554
1 changed files with 4 additions and 2 deletions
  1. 4 2
      glm/gtc/quaternion.inl

+ 4 - 2
glm/gtc/quaternion.inl

@@ -173,12 +173,14 @@ namespace detail
 		*this = quat_cast(m);
 	}
 	
-	GLM_FUNC_DECL explicit operator tmat3<T, P>()
+	template <typename T, precision P>
+	GLM_FUNC_QUALIFIER tquat<T, P>::operator tmat3x3<T, P>()
 	{
 		return mat3_cast(*this);
 	}
 	
-	GLM_FUNC_DECL explicit operator tmat4<T, P>()
+	template <typename T, precision P>	
+	GLM_FUNC_QUALIFIER tquat<T, P>::operator tmat4x4<T, P>()
 	{
 		return mat4_cast(*this);
 	}