diff options
author | David Thompson <dthompson@member.fsf.org> | 2013-08-27 18:22:06 -0400 |
---|---|---|
committer | David Thompson <dthompson@member.fsf.org> | 2013-08-27 18:22:06 -0400 |
commit | 5841889f53465b4096830f3778b209063e1fe8bc (patch) | |
tree | 724087d4dbfeb08349401d7ff19e0f099a550667 /examples/font.scm | |
parent | e719d1e988617f623fac29c1bd347785833c5f71 (diff) |
Replace old vector module with new vector2 module.
Diffstat (limited to 'examples/font.scm')
-rw-r--r-- | examples/font.scm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/font.scm b/examples/font.scm index 8cdfd3a..69da60a 100644 --- a/examples/font.scm +++ b/examples/font.scm @@ -3,13 +3,14 @@ (2d game-loop) (2d window) (2d helpers) - (2d font)) + (2d font) + (2d vector2)) (define window-width 800) (define window-height 600) (define font (load-font "fonts/Boxy-Bold.ttf" 48)) (define text "The quick brown fox jumped over the lazy dog.") -(define textbox (make-textbox font text #(320 300) white 'left 200)) +(define textbox (make-textbox font text (vector2 320 300) white 'left 200)) ;; Open the window. (open-window window-width window-height) |