Skip to content

Commit

Permalink
InOutQuintic fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ecton committed Aug 18, 2024
1 parent 1f79b20 commit 03b708f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/easings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ declare_easing_functions!(
"in and out using a quintic (x^5) curve",
|percent| {
if percent < 0.5 {
8. * quinted(percent)
16. * quinted(percent)
} else {
1. - quinted(-2. * percent + 2.) / 2.
}
Expand Down

0 comments on commit 03b708f

Please sign in to comment.