mirror of
https://github.com/g-truc/glm.git
synced 2024-11-27 02:34:35 +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