From b3c293f8b4fde0c92b3552f4033ee66f66a67aac Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Tue, 31 May 2011 16:18:14 +0100 Subject: [PATCH] Fixed missing precision quaternion types --- glm/gtc/quaternion.hpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/glm/gtc/quaternion.hpp b/glm/gtc/quaternion.hpp index 949f08f7..9aea66f4 100644 --- a/glm/gtc/quaternion.hpp +++ b/glm/gtc/quaternion.hpp @@ -221,6 +221,17 @@ namespace quaternion ///< GLM_GTC_quaternion extension: Quaternion types and fun //! From GLM_GTC_quaternion extension. typedef detail::tquat dquat; + //! Quaternion of low precision floating-point numbers. + //! From GLM_GTC_quaternion extension. + typedef detail::tquat lowp_quat; + + //! Quaternion of medium precision floating-point numbers. + //! From GLM_GTC_quaternion extension. + typedef detail::tquat mediump_quat; + + //! Quaternion of high precision floating-point numbers. + //! From GLM_GTC_quaternion extension. + typedef detail::tquat highp_quat; ///@} } //namespace quaternion