From da2a4607c39d703921979441cb9ed5fddb1099af Mon Sep 17 00:00:00 2001 From: Kevin Levron Date: Mon, 19 Apr 2021 19:57:19 +0200 Subject: [PATCH] wip: core --- src/core/Object3D.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/Object3D.ts b/src/core/Object3D.ts index a995001..3a10ba0 100644 --- a/src/core/Object3D.ts +++ b/src/core/Object3D.ts @@ -2,7 +2,7 @@ import { Object3D } from 'three' import { ComponentPublicInstance, defineComponent, watch } from 'vue' import { bindProp } from '../tools' -interface Object3DInterface { +interface Object3DSetupInterface { o3d?: Object3D parent?: ComponentPublicInstance } @@ -19,7 +19,7 @@ export default defineComponent({ autoRemove: { type: Boolean, default: true }, userData: { type: Object, default: () => ({}) }, }, - setup(): Object3DInterface { + setup(): Object3DSetupInterface { return {} }, unmounted() {