From 356c78e6de4d7feafc5bc8d978978776fc34ad16 Mon Sep 17 00:00:00 2001 From: Par Winzell Date: Tue, 4 Dec 2007 19:06:45 +0000 Subject: [PATCH] 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 --- src/as/com/threerings/flash/path/HermiteFunc.as | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/as/com/threerings/flash/path/HermiteFunc.as b/src/as/com/threerings/flash/path/HermiteFunc.as index fd05c700..d6d1bdd1 100644 --- a/src/as/com/threerings/flash/path/HermiteFunc.as +++ b/src/as/com/threerings/flash/path/HermiteFunc.as @@ -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;