浏览代码

fix(cientos): clean up

Alvaro 2 年之前
父节点
当前提交
691b174b62
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      packages/cientos/src/core/useFBX/component.ts

+ 3 - 3
packages/cientos/src/core/useFBX/component.ts

@@ -1,5 +1,5 @@
-import { Scene } from 'three'
-import { defineComponent, inject, reactive, ref, Ref, shallowRef, toRaw, unref } from 'vue'
+import { Object3D, Scene } from 'three'
+import { defineComponent, inject, Ref } from 'vue'
 import { useFBX } from '.'
 
 export const FBXModel = defineComponent({
@@ -12,7 +12,7 @@ export const FBXModel = defineComponent({
   },
   async setup(props, { expose }) {
     const scene = inject<Ref<Scene>>('local-scene')
-    let model = null
+    let model: Object3D | null = null
 
     function getModel() {
       return model