More silly.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@363 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
@@ -61,9 +61,9 @@ public class HermiteFunc extends InterpFunc
|
|||||||
}
|
}
|
||||||
var tt :Number = t*t;
|
var tt :Number = t*t;
|
||||||
|
|
||||||
return int((_p0 - _p1) * (6*tt - 6*t) +
|
return (_p0 - _p1) * (6*tt - 6*t) +
|
||||||
_m0 * (3*tt - 4*t + 1) +
|
_m0 * (3*tt - 4*t + 1) +
|
||||||
_m1 * (3*tt - 2*t));
|
_m1 * (3*tt - 2*t);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** The coefficient for the spline that interpolates the beginning point value. */
|
/** The coefficient for the spline that interpolates the beginning point value. */
|
||||||
|
|||||||
Reference in New Issue
Block a user