Working on file header comments...
This commit is contained in:
parent
ca8c565617
commit
8f5ff64420
8 changed files with 105 additions and 70 deletions
|
@ -122,7 +122,7 @@ EASEDEF float EaseCubicOut(float t, float b, float c, float d) { return (c*((t=t
|
|||
EASEDEF float EaseCubicInOut(float t, float b, float c, float d)
|
||||
{
|
||||
if ((t/=d/2) < 1) return (c/2*t*t*t + b);
|
||||
return (c/2*((t-=2)*t*t + 2) + b);
|
||||
return (c/2*((t-=2)*t*t + 2) + b);
|
||||
}
|
||||
|
||||
// Quadratic Easing functions
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue