Skip to content

Instantly share code, notes, and snippets.

@davidortinau
Created August 25, 2013 13:24
Show Gist options
  • Save davidortinau/6333839 to your computer and use it in GitHub Desktop.
Save davidortinau/6333839 to your computer and use it in GitHub Desktop.
tweaked easing formula, removed params argument and default s var.
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