Created
August 25, 2013 13:24
-
-
Save davidortinau/6333839 to your computer and use it in GitHub Desktop.
tweaked easing formula, removed params argument and default s var.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static float EaseOutBack(float t, float start, float length) | |
{ | |
float s = 1.70158f; | |
return length*((t=t-1)*t*((s+1)*t + s) + 1) + start; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment