summaryrefslogtreecommitdiff
path: root/README.org
diff options
context:
space:
mode:
authorDavid Thompson <dthompson@member.fsf.org>2013-10-10 05:36:16 -0700
committerDavid Thompson <dthompson@member.fsf.org>2013-10-10 05:36:16 -0700
commit36d05b308d710f58b60f695799605648bac5d3a3 (patch)
treed4e7a55c30c666428657cd40e910039819f9d9bd /README.org
parent501857145e7dd3b1a2889367b7ed096cfed7d390 (diff)
parentecb08685d5acefc069381cef88d55a31c3c4f0b0 (diff)
Merge pull request #11 from mrtrop/master
Fixed README examples using old vector module
Diffstat (limited to 'README.org')
-rw-r--r--README.org4
1 files 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)