Browse Source

Fix an ambiguity error with clamp().

Dave Reid 12 years ago
parent
commit
30dca2d0c7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      glm/core/func_common.hpp

+ 1 - 1
glm/core/func_common.hpp

@@ -208,7 +208,7 @@ namespace glm
 		genType const & minVal,
 		genType const & maxVal);
 
-	template <typename genType>
+	template <typename genType, precision P>
 	genType clamp(
 		genType const & x,
 		typename genType::value_type const & minVal,