소스 검색

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