Oh oops, thanks Ray, this should definitely be a Number.

git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@362 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
Par Winzell
2007-12-04 19:06:45 +00:00
parent bc8d005179
commit 356c78e6de
@@ -54,7 +54,7 @@ public class HermiteFunc extends InterpFunc
}
/** Get the derivative of this function at a point. */
public function getSlope (t :Number) :int
public function getSlope (t :Number) :Number
{
if (t >= 1 || t < 0) { // cope with a funny startOffset
return 0;