mirror of
https://github.com/g-truc/glm.git
synced 2024-11-10 12:41:54 +00:00
Fix an ambiguity error with clamp().
This commit is contained in:
parent
f1967b5fb3
commit
30dca2d0c7
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user