mirror of
https://github.com/g-truc/glm.git
synced 2024-11-10 12:41:54 +00:00
Tentative fix GTX_easing on Apple Clang
This commit is contained in:
parent
5c02758b15
commit
ef615c8d6e
@ -246,7 +246,11 @@ namespace glm{
|
||||
if(a <= zero<genType>())
|
||||
return a;
|
||||
else
|
||||
return glm::pow<genType>(static_cast<genType>(2), static_cast<genType>(10) * (a - one<genType>()));
|
||||
{
|
||||
genType const Complementary = a - one<genType>();
|
||||
genType const Two = static_cast<genType>(2);
|
||||
return glm::pow<genType>(Two, Complementary * static_cast<genType>(10));
|
||||
}
|
||||
}
|
||||
|
||||
template <typename genType>
|
||||
|
Loading…
Reference in New Issue
Block a user