diff options
author | David Thompson <dthompson2@worcester.edu> | 2021-04-14 20:58:17 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2021-04-14 20:58:17 -0400 |
commit | 91d6b335df7ba05add0335c144582c36e01b32a4 (patch) | |
tree | 4da3f5ccc6813eeebfaf7a3a2fc862d697999d43 | |
parent | 3c13b0dad09594c2c6181a1cec42c3dc1d04c8a2 (diff) |
node-2d: Add missing position-y accessor.
-rw-r--r-- | starling/node-2d.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/starling/node-2d.scm b/starling/node-2d.scm index 93d02c8..ed3b619 100644 --- a/starling/node-2d.scm +++ b/starling/node-2d.scm @@ -244,7 +244,7 @@ #:slot-set! (lambda (node x) (set-vec2-x! (position node) x) (dirty! node))) - (position-y #:accessor y #:allocation #:virtual + (position-y #:accessor position-y #:allocation #:virtual #:slot-ref (lambda (node) (vec2-y (position node))) #:slot-set! (lambda (node y) (set-vec2-y! (position node) y) |