From 0ed263a6ee33fb722a13d52f7c14837429ae47c8 Mon Sep 17 00:00:00 2001 From: Par Winzell Date: Tue, 4 Dec 2007 19:19:05 +0000 Subject: [PATCH] More silly. git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@363 ed5b42cb-e716-0410-a449-f6a68f950b19 --- src/as/com/threerings/flash/path/HermiteFunc.as | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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. */