func check

This commit is contained in:
Kseninia Mikhaylova 2024-07-12 14:14:31 +03:00
parent 286b144bd8
commit b8183f3180
2 changed files with 3 additions and 3 deletions

View File

@ -1,3 +1,3 @@
# VITE_SERVER_URL='http://localhost:8000'
VITE_SERVER_URL='https://demo.kustarshina.ru' VITE_SERVER_URL='https://demo.kustarshina.ru'
VITE_IMAGE_URL='https://demo.kustarshina.ru' VITE_IMAGE_URL='https://demo.kustarshina.ru'
VITE_SERVER_URL='http://localhost:8000'

View File

@ -134,7 +134,7 @@ const { onLoop } = useRenderLoop()
onLoop(() => { onLoop(() => {
clickable_refs.value.map(el => { clickable_refs.value.map(el => {
// el.quaternion.copy(camera.value?.quaternion); // el.quaternion.copy(camera.value?.quaternion);
if (el.value[0]) { if (el.value[0] && typeof el.value[0].lookAt == 'function') {
el.value[0].lookAt(camera.value?.position) el.value[0].lookAt(camera.value?.position)
} }
}) })