mirror of
https://github.com/g-truc/glm.git
synced 2024-11-25 18:04:34 +00:00
fix glm::bounceEaseInOut()
easing formula
This commit is contained in:
parent
66062497b1
commit
eb23f89db2
@ -425,7 +425,7 @@ namespace glm{
|
||||
|
||||
if(a < static_cast<genType>(0.5))
|
||||
{
|
||||
return static_cast<genType>(0.5) * (one<genType>() - bounceEaseOut(a * static_cast<genType>(2)));
|
||||
return static_cast<genType>(0.5) * (one<genType>() - bounceEaseOut(one<genType>() - a * static_cast<genType>(2)));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user