dev #10
|
@ -1,3 +1,3 @@
|
|||
# VITE_SERVER_URL='http://localhost:8000'
|
||||
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'
|
|
@ -134,7 +134,7 @@ const { onLoop } = useRenderLoop()
|
|||
onLoop(() => {
|
||||
clickable_refs.value.map(el => {
|
||||
// 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)
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue