Browse Source

fix(cientos): clean up

Alvaro 2 years ago
parent
commit
691b174b62
1 changed files with 3 additions and 3 deletions
  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