diff --git a/src/as/com/threerings/flash/path/HermiteFunc.as b/src/as/com/threerings/flash/path/HermiteFunc.as index d6d1bdd1..ad26a678 100644 --- a/src/as/com/threerings/flash/path/HermiteFunc.as +++ b/src/as/com/threerings/flash/path/HermiteFunc.as @@ -61,9 +61,9 @@ public class HermiteFunc extends InterpFunc } var tt :Number = t*t; - return int((_p0 - _p1) * (6*tt - 6*t) + - _m0 * (3*tt - 4*t + 1) + - _m1 * (3*tt - 2*t)); + return (_p0 - _p1) * (6*tt - 6*t) + + _m0 * (3*tt - 4*t + 1) + + _m1 * (3*tt - 2*t); } /** The coefficient for the spline that interpolates the beginning point value. */