Browse Source

Merge pull request #312 from plasmacel/master

default precision for quat type #312
Christophe Riccio 11 years ago
parent
commit
a131b4e5dc
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
 	/// @addtogroup gtc_quaternion
 	/// @{
 	/// @{
 
 
-	template <typename T, precision P>
+	template <typename T, precision P = defaultp>
 	struct tquat
 	struct tquat
 	{
 	{
 		typedef tquat<T, P> type;
 		typedef tquat<T, P> type;