瀏覽代碼

refactor(playground): remove unused camera imports in index.vue

- Eliminated unused imports for OrthographicCamera and PerspectiveCamera from Three.js to streamline the code.
- This change enhances code clarity and reduces unnecessary dependencies, aligning with the recent updates to utilize TresJS components for camera management.
alvarosabu 1 月之前
父節點
當前提交
a56bdf298b
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      playground/vue/src/pages/cameras/index.vue

+ 0 - 2
playground/vue/src/pages/cameras/index.vue

@@ -2,9 +2,7 @@
 import { Box } from '@tresjs/cientos'
 import { Box } from '@tresjs/cientos'
 import { TresCanvas } from '@tresjs/core'
 import { TresCanvas } from '@tresjs/core'
 import { TresLeches, useControls } from '@tresjs/leches'
 import { TresLeches, useControls } from '@tresjs/leches'
-import { OrthographicCamera, PerspectiveCamera } from 'three'
 import '@tresjs/leches/styles'
 import '@tresjs/leches/styles'
-import { useWindowSize } from '@vueuse/core'
 
 
 const { cameraType } = useControls({
 const { cameraType } = useControls({
   cameraType: {
   cameraType: {