summaryrefslogtreecommitdiff
path: root/examples/nine-patch.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/nine-patch.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/nine-patch.scm')
-rw-r--r--examples/nine-patch.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/nine-patch.scm b/examples/nine-patch.scm
index ed03cab..2852245 100644
--- a/examples/nine-patch.scm
+++ b/examples/nine-patch.scm
@@ -14,6 +14,6 @@
(define (draw alpha)
(draw-nine-patch image (make-rect 192.0 192.0 256.0 96.0) #:margin 6)
- (draw-text font "I am error." (vec2 200.0 266.0)))
+ (draw-text font "I am error." #v(200.0 266.0)))
(run-game/sdl #:load load #:draw draw)