summaryrefslogtreecommitdiff
path: root/sly/scene.scm
diff options
context:
space:
mode:
Diffstat (limited to 'sly/scene.scm')
-rw-r--r--sly/scene.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/sly/scene.scm b/sly/scene.scm
index bb748ca..a8b90b4 100644
--- a/sly/scene.scm
+++ b/sly/scene.scm
@@ -30,6 +30,7 @@
#:use-module (sly signal)
#:use-module (sly transform)
#:use-module (sly transition)
+ #:use-module (sly math vector)
#:export (scene-node
make-scene-node
scene-node?
@@ -51,7 +52,7 @@
(children scene-node-children))
(define* (make-scene-node #:optional #:key
- (position #(0 0))
+ (position (vector2 0 0))
(scale 1)
(rotation identity-quaternion)
(uniforms '())