lower symbols
This commit is contained in:
parent
404e0be52b
commit
4ed15f4696
|
@ -1,9 +1,8 @@
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { onMounted, reactive, ref } from 'vue';
|
import { reactive, ref } from 'vue';
|
||||||
import { Object3D, Vector3 } from 'three';
|
import { Object3D, Vector3 } from 'three';
|
||||||
import { TresCanvas, useRenderLoop } from '@tresjs/core';
|
import { TresCanvas, useRenderLoop } from '@tresjs/core';
|
||||||
import { vLightHelper } from '@tresjs/core'
|
import { CameraControls, useGLTF, useProgress } from '@tresjs/cientos'
|
||||||
import { CameraControls, GlobalAudio, useGLTF, useProgress } from '@tresjs/cientos'
|
|
||||||
|
|
||||||
const minPan = new Vector3(-10, 1, -5);
|
const minPan = new Vector3(-10, 1, -5);
|
||||||
const maxPan = new Vector3(5, 1, 5);
|
const maxPan = new Vector3(5, 1, 5);
|
||||||
|
@ -27,7 +26,7 @@ const controlsState = reactive({
|
||||||
})
|
})
|
||||||
|
|
||||||
const { hasFinishLoading, progress } = await useProgress()
|
const { hasFinishLoading, progress } = await useProgress()
|
||||||
const { scene: spot_light } = await useGLTF('/Spot_light.glb')
|
const { scene: spot_light } = await useGLTF('/spot_light.glb')
|
||||||
const spot_light_item = spot_light.children[0]
|
const spot_light_item = spot_light.children[0]
|
||||||
const spot_light_target = ref()
|
const spot_light_target = ref()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue