code_junkie

How I do I make controls/elements move with inertia?

Nov 11th, 2011
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.10 KB | None | 0 0
  1. smoothstep(t) = 3*t*t - 2*t*t*t [0 <= t <= 1]
  2.  
  3. smoothstep_eo(t) = 2*smoothstep((t+1)/2) - 1
Add Comment
Please, Sign In to add comment