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))
|
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
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user