Browse Source

fix build

Olivier Sohn 8 years ago
parent
commit
ddb93dcdc2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      glm/gtx/quaternion.inl

+ 1 - 1
glm/gtx/quaternion.inl

@@ -186,7 +186,7 @@ namespace glm
 
 
 		if(cosTheta >= static_cast<T>(1) - epsilon<T>()) {
 		if(cosTheta >= static_cast<T>(1) - epsilon<T>()) {
 			// orig and dest point in the same direction
 			// orig and dest point in the same direction
-			return quat_identity();
+			return quat_identity<T,Q>();
 		}
 		}
 
 
 		if(cosTheta < static_cast<T>(-1) + epsilon<T>())
 		if(cosTheta < static_cast<T>(-1) + epsilon<T>())