Browse Source

add default precision to quat type

plasmacel 11 years ago
parent
commit
62658e8dce
1 changed files with 1 additions and 1 deletions
  1. 1 1
      glm/gtc/quaternion.hpp

+ 1 - 1
glm/gtc/quaternion.hpp

@@ -59,7 +59,7 @@ namespace glm
 	/// @addtogroup gtc_quaternion
 	/// @{
 
-	template <typename T, precision P>
+	template <typename T, precision P = defaultp>
 	struct tquat
 	{
 		typedef tquat<T, P> type;