From 0a8f1ee88f9ba8cf6009709f6c925bebf44df9f8 Mon Sep 17 00:00:00 2001 From: Kevin Levron Date: Sat, 24 Apr 2021 22:49:00 +0200 Subject: [PATCH] fix missing scene --- src/core/Scene.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/Scene.ts b/src/core/Scene.ts index 4ecfb33..836dabd 100644 --- a/src/core/Scene.ts +++ b/src/core/Scene.ts @@ -37,7 +37,7 @@ export default defineComponent({ const add = (o: Object3D): void => { scene.add(o) } const remove = (o: Object3D): void => { scene.remove(o) } - return { add, remove } + return { scene, add, remove } }, render() { return this.$slots.default ? this.$slots.default() : []