Selaa lähdekoodia

Fixed default precision for quat and dual_quat type #312

Christophe Riccio 11 vuotta sitten
vanhempi
sitoutus
7e6b502639
2 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 1 1
      glm/gtx/dual_quaternion.hpp
  2. 1 1
      readme.txt

+ 1 - 1
glm/gtx/dual_quaternion.hpp

@@ -58,7 +58,7 @@ namespace glm
 	/// @addtogroup gtx_dual_quaternion
 	/// @{
 
-	template <typename T, precision P>
+	template <typename T, precision P = defaultp>
 	struct tdualquat
 	{
 		typedef T value_type;

+ 1 - 1
readme.txt

@@ -67,7 +67,7 @@ http://glm.g-truc.net/glm.pdf
 GLM 0.9.6.4: 2015-0X-XX
 --------------------------------------------------------------------------------
 Fixes:
-
+- Fixed default precision for quat and dual_quat type #312
 
 ================================================================================
 GLM 0.9.6.3: 2015-02-15