mirror of
https://github.com/g-truc/glm.git
synced 2025-04-10 07:18:54 +00:00
Merge pull request #1078 from maniek2332/gtx-easing-bounce-fix
Fix glm::bounceEaseInOut() easing formula #1078
This commit is contained in:
commit
416d0a23eb
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue