diff --git a/glm/gtc/quaternion.hpp b/glm/gtc/quaternion.hpp index 12730932..cdf63534 100644 --- a/glm/gtc/quaternion.hpp +++ b/glm/gtc/quaternion.hpp @@ -102,7 +102,11 @@ namespace glm template GLM_FUNC_DECL tquat(tquat const & q); # endif - + + // explicit conversion operators + GLM_FUNC_DECL explicit operator tmat3(); + GLM_FUNC_DECL explicit operator tmat4(); + /// Create a quaternion from two normalized axis /// /// @param u A first normalized axis