summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2021-01-21 19:29:46 -0500
committerDavid Thompson <dthompson2@worcester.edu>2021-01-26 17:12:02 -0500
commitaa45ad29efab50318d38bfd096b07021c4c7bde6 (patch)
treecb4f2347e94aa257a7906945bb5b1c389a22c93b /examples
parent578de9a16d58385f4e9926c7c0effae6127c9270 (diff)
graphics: Rewrite rendering engine.
Diffstat (limited to 'examples')
-rw-r--r--examples/grid.scm1
-rw-r--r--examples/model.scm5
-rw-r--r--examples/particles.scm1
-rw-r--r--examples/sprite-batch.scm1
4 files changed, 2 insertions, 6 deletions
diff --git a/examples/grid.scm b/examples/grid.scm
index 51a4a37..f552d1a 100644
--- a/examples/grid.scm
+++ b/examples/grid.scm
@@ -2,7 +2,6 @@
(chickadee math grid)
(chickadee math vector)
(chickadee math rect)
- (chickadee graphics)
(chickadee graphics color)
(chickadee graphics font)
(chickadee graphics path)
diff --git a/examples/model.scm b/examples/model.scm
index f7ef9f7..98a7deb 100644
--- a/examples/model.scm
+++ b/examples/model.scm
@@ -2,7 +2,7 @@
(chickadee math)
(chickadee math matrix)
(chickadee math vector)
- (chickadee graphics)
+ (chickadee graphics engine)
(chickadee graphics model)
(chickadee graphics font)
(ice-9 format))
@@ -27,8 +27,7 @@
(define (draw alpha)
(with-projection projection
- (with-depth-test #t
- (draw-model model model-matrix view-matrix)))
+ (draw-model model model-matrix view-matrix))
(draw-text text text-position))
(define (update dt)
diff --git a/examples/particles.scm b/examples/particles.scm
index abefd94..f7d096e 100644
--- a/examples/particles.scm
+++ b/examples/particles.scm
@@ -1,7 +1,6 @@
(use-modules (chickadee)
(chickadee math rect)
(chickadee math vector)
- (chickadee graphics)
(chickadee graphics color)
(chickadee graphics font)
(chickadee graphics particles)
diff --git a/examples/sprite-batch.scm b/examples/sprite-batch.scm
index 3aad219..b63179f 100644
--- a/examples/sprite-batch.scm
+++ b/examples/sprite-batch.scm
@@ -2,7 +2,6 @@
(chickadee math matrix)
(chickadee math rect)
(chickadee math vector)
- (chickadee graphics)
(chickadee graphics color)
(chickadee graphics font)
(chickadee graphics sprite)