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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user