summaryrefslogtreecommitdiff
path: root/examples/tiled.scm
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2018-08-20 20:22:44 -0400
committerDavid Thompson <dthompson2@worcester.edu>2018-08-23 08:01:11 -0400
commiteceae08c4f6985c3cc30191ab33b22302578b81e (patch)
treeead018aabef22bbd0097df991f6a900bc7b93883 /examples/tiled.scm
parent89ed33ac799b9b55b4694c46f8e19a24d343e99b (diff)
math: vector: Add read syntax.
* chickadee/math/vector.scm (read-vec): New procedure. Extend reader. * examples/lines.scm: Use new vector read syntax. * examples/nine-patch.scm: Ditto. * examples/sprite.scm: Ditto. * examples/text.scm: Ditto. * examples/tiled.scm: Ditto.
Diffstat (limited to 'examples/tiled.scm')
-rw-r--r--examples/tiled.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/tiled.scm b/examples/tiled.scm
index 3d33052..b5fb8b6 100644
--- a/examples/tiled.scm
+++ b/examples/tiled.scm
@@ -5,7 +5,7 @@
(ice-9 match))
(define map #f)
-(define camera (vec2 0.0 0.0))
+(define camera #v(0.0 0.0))
(define (load)
(set! map (load-tile-map "maps/example.tmx")))