Skip to content

Commit

Permalink
fix #5, rogue b
Browse files Browse the repository at this point in the history
  • Loading branch information
ruby0x1 committed Jun 13, 2015
1 parent 53d3b87 commit b10e73d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tween/easing/Quint.hx
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ class Quint {
public static inline function easeInOut(start:Float, delta:Float, t:Float):Float {
t *= 2;
if (t < 1) {
return delta / 2 * t * t * t * t * t + b;
return delta / 2 * t * t * t * t * t + start;
}
return delta / 2 * ((t -= 2) * t * t * t * t + 2) + start;
}
}
}

0 comments on commit b10e73d

Please sign in to comment.