Update quaternion.hpp

This commit is contained in:
plasmacel 2014-11-24 01:10:21 +01:00
parent 7e3dc0ae16
commit 3b3dcd7d03

View File

@ -102,7 +102,11 @@ namespace glm
template <typename U, precision Q> template <typename U, precision Q>
GLM_FUNC_DECL tquat(tquat<U, Q> const & q); GLM_FUNC_DECL tquat(tquat<U, Q> const & q);
# endif # endif
// explicit conversion operators
GLM_FUNC_DECL explicit operator tmat3<T, P>();
GLM_FUNC_DECL explicit operator tmat4<T, P>();
/// Create a quaternion from two normalized axis /// Create a quaternion from two normalized axis
/// ///
/// @param u A first normalized axis /// @param u A first normalized axis