瀏覽代碼

add default precision to quat type

plasmacel 11 年之前
父節點
當前提交
62658e8dce
共有 1 個文件被更改,包括 1 次插入1 次删除
  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;