Browse Source

Fixed ln_ten constant

Christophe Riccio 14 years ago
parent
commit
d43e671dcd
1 changed files with 2 additions and 2 deletions
  1. 2 2
      glm/gtx/constants.hpp

+ 2 - 2
glm/gtx/constants.hpp

@@ -146,9 +146,9 @@ namespace glm
 	}
 	}
 
 
 	template <typename T>
 	template <typename T>
-	GLM_FUNC_QUALIFIER T ln_ten(2.30258509299404568401799145468436421)
+	GLM_FUNC_QUALIFIER T ln_ten()
 	{
 	{
-		return T();
+		return T(2.30258509299404568401799145468436421);
 	}
 	}
 
 
 	template <typename T>
 	template <typename T>