From ecb08685d5acefc069381cef88d55a31c3c4f0b0 Mon Sep 17 00:00:00 2001 From: mrtrop Date: Wed, 9 Oct 2013 09:32:27 -0700 Subject: Fixed README examples using old vector module --- README.org | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.org b/README.org index 43a1eaf..8bab0cf 100644 --- a/README.org +++ b/README.org @@ -165,7 +165,7 @@ ;; Move horizontally across the screen, starting at x=0 and moving to ;; x=800, in 60 ticks. (lerp (lambda (x) - (set-sprite-position! sprite (vector x (/ window-height 2)))) + (set-sprite-position! sprite (vector2 x (/ window-height 2)))) 0 800 60)) #+END_SRC @@ -183,7 +183,7 @@ (schedule-action (action-parallel (lerp (lambda (x) - (set-sprite-position! sprite (vector x (/ window-height 2)))) + (set-sprite-position! sprite (vector2 x (/ window-height 2)))) 0 800 60) ;; Rotate sprite 1080 degrees in 120 ticks. (lerp (lambda (angle) -- cgit v1.2.3