summaryrefslogtreecommitdiff
path: root/examples/text.scm
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2023-09-01 09:00:01 -0400
committerDavid Thompson <dthompson2@worcester.edu>2023-11-08 21:35:34 -0500
commit1425a0dc73f7fa37612b7a82f090e9b10ddebf25 (patch)
tree97de459a6b021c7abb04944cdde512efe5909bd4 /examples/text.scm
parentd969c19756227899b39967989fa971fa3452e872 (diff)
First pass of rendering engine rewrite.
The (chickadee graphics gpu) module now handles most of the low-level OpenGL object creation/deletion/binding. The (chickadee graphics engine) module handles the with-graphics-state stuff via a render context object. There's lots of stuff that isn't great, but it's the first step towards a graphics backend agnostic rendering layer.
Diffstat (limited to 'examples/text.scm')
-rw-r--r--examples/text.scm6
1 files changed, 2 insertions, 4 deletions
diff --git a/examples/text.scm b/examples/text.scm
index be79edc..81e4021 100644
--- a/examples/text.scm
+++ b/examples/text.scm
@@ -7,7 +7,7 @@
(define avg-frame-time 16.0)
(define stats-text "")
(define stats-position (vec2 4.0 704.0))
-(define position (vec2 140.0 0.0))
+(define position (vec2 140.0 240.0))
(define text "The quick brown fox jumps over the lazy dog.\nFive hexing wizard bots jump quickly.")
(define (stats-message)
@@ -40,6 +40,4 @@
#:key-press key-press
#:load load
#:update update
- #:window-title "text rendering"
- #:window-width 1280
- #:window-height 720)
+ #:window-title "text rendering")