aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
authorColin Okay <colin@cicadas.surf>2022-06-22 07:22:42 -0500
committerColin Okay <colin@cicadas.surf>2022-06-22 07:22:42 -0500
commita3d98d979bca7f55c3fdbeda62f482374f140c73 (patch)
tree4fd80f62ead1f7e3a6f3b96a2e8dc232869886a4 /examples
parent534de77b36f53d5180f32b0d82faa8d289601f8e (diff)
[fix] render in bitmap to include projection
Diffstat (limited to 'examples')
-rw-r--r--examples/01-bitmap-display.lisp11
1 files changed, 7 insertions, 4 deletions
diff --git a/examples/01-bitmap-display.lisp b/examples/01-bitmap-display.lisp
index fa743fa..788ae6d 100644
--- a/examples/01-bitmap-display.lisp
+++ b/examples/01-bitmap-display.lisp
@@ -9,10 +9,13 @@
(defclass bitmap-display (ww::application ) ())
(defmethod ww::boot ((app bitmap-display))
- (ww::add-unit
- app
- (make-instance 'ww::bitmap
- :texture (ww::get-asset "Fezghoul.png"))))
+ (let ((bm
+ (make-instance 'ww::bitmap
+ :texture (ww::get-asset "Fezghoul.png"))))
+ (describe (ww::model-matrix bm))
+ (describe bm)
+ (describe app)
+ (ww::add-unit app bm)))
(defun start ()