From f3569af23a082a96417669ded0d91453e836079e Mon Sep 17 00:00:00 2001 From: David Thompson Date: Fri, 9 Oct 2020 08:40:52 -0400 Subject: Tweak vec2 creation in chickadee examples. --- haunt.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/haunt.scm b/haunt.scm index f73644c..d2a00e0 100644 --- a/haunt.scm +++ b/haunt.scm @@ -543,7 +543,7 @@ Scheme.") (chickadee render font)) (define (draw alpha) - (draw-text \"Hello, world!\" #v(260.0 240.0))) + (draw-text \"Hello, world!\" (vec2 260.0 240.0))) (run-game #:draw draw) ") @@ -560,7 +560,7 @@ Scheme.") (set! sprite (load-image \"images/chickadee.png\"))) (define (draw alpha) - (draw-sprite sprite #v(256.0 176.0))) + (draw-sprite sprite (vec2 256.0 176.0))) (run-game #:load load #:draw draw) ") -- cgit v1.2.3