mirror of
https://github.com/g-truc/glm.git
synced 2025-04-15 01:18:14 +00:00
Fixed compScale
This commit is contained in:
parent
daaf86dcef
commit
79ceca230f
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ namespace detail
|
|||
{
|
||||
floatType const Min = static_cast<floatType>(std::numeric_limits<T>::min());
|
||||
floatType const Max = static_cast<floatType>(std::numeric_limits<T>::max());
|
||||
return (vecType<floatType, P>(v) + Min) * (Max - Min) * static_cast<floatType>(2) - static_cast<floatType>(1);
|
||||
return vecType<T, P>((vecType<floatType, P>(v) + Min) * (Max - Min) * static_cast<floatType>(2) - static_cast<floatType>(1));
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue