From 09b088b352615c17648a21774c1b57b2c1f65c5f Mon Sep 17 00:00:00 2001 From: Matthias Richter Date: Fri, 21 Jan 2011 12:17:54 +0100 Subject: [PATCH] Fix interpolator/oscillator example --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 6e57a09..939a8b1 100644 --- a/index.html +++ b/index.html @@ -469,7 +469,7 @@ end
Example: -
fader = Interpolator(5, function(frac, r,g,b)
+			
fader = Timer.Interpolator(5, function(frac, r,g,b)
     love.graphics.setBackgroundColor(frac*r,frac*g,frac*b)
 end)
 
@@ -502,7 +502,7 @@ end
Example: -
mover = Oscillator(10, function(frac)
+			
mover = Timer.Oscillator(10, function(frac)
    return 400 + 300 * math.sin(2*math.pi*frac)
 end)