Procházet zdrojové kódy

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 před 1 dnem
rodič
revize
a56bdf298b
1 změnil soubory, kde provedl 0 přidání a 2 odebrání
  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 { TresCanvas } from '@tresjs/core'
 import { TresLeches, useControls } from '@tresjs/leches'
-import { OrthographicCamera, PerspectiveCamera } from 'three'
 import '@tresjs/leches/styles'
-import { useWindowSize } from '@vueuse/core'
 
 const { cameraType } = useControls({
   cameraType: {