summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2021-04-07 17:06:36 -0400
committerDavid Thompson <dthompson2@worcester.edu>2021-04-07 17:07:35 -0400
commit19436dbd7258d55484825ec9b06eaa4e9efaf36b (patch)
treee7331933926d1a75033425a535401e7d2e9284be
parentcd5bd61bfd9e41f9c6112d98ceae9b340b4b60ef (diff)
math: rect: Fix make-null-rect so all values are 0 instead of garbage.
-rw-r--r--chickadee/math/rect.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/chickadee/math/rect.scm b/chickadee/math/rect.scm
index 8c80a75..3ccaf97 100644
--- a/chickadee/math/rect.scm
+++ b/chickadee/math/rect.scm
@@ -82,7 +82,7 @@
(bv unwrap-rect))
(define (make-null-rect)
- (wrap-rect (make-f32vector 4)))
+ (wrap-rect (make-f32vector 4 0.0)))
(define-syntax-rule (with-new-rect name body ...)
(let ((name (make-null-rect))) body ... name))