Browse Source

Fixed build

Christophe Riccio 12 years ago
parent
commit
7fc5d21bbf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      glm/gtx/vector_angle.inl

+ 1 - 1
glm/gtx/vector_angle.inl

@@ -36,7 +36,7 @@ namespace glm
 	{
 	{
 		GLM_STATIC_ASSERT(std::numeric_limits<T>::is_iec559, "'angle' only accept floating-point inputs");
 		GLM_STATIC_ASSERT(std::numeric_limits<T>::is_iec559, "'angle' only accept floating-point inputs");
 
 
-		genType const Angle(acos(clamp(dot(x, y), T(0), T(1)));
+		T const Angle(acos(clamp(dot(x, y), T(0), T(1))));
 
 
 #ifdef GLM_FORCE_RADIANS
 #ifdef GLM_FORCE_RADIANS
 		return Angle;
 		return Angle;