From 6144c9b25e7cf379912faf37026c6bdc0bb6a34d Mon Sep 17 00:00:00 2001 From: Kseninia Mikhaylova Date: Mon, 3 Jun 2024 12:17:48 +0300 Subject: [PATCH] shadows --- front/src/components/Promo/main.vue | 7 ++----- front/src/components/Promo/modelItem.vue | 5 +++-- front/src/components/Promo/models.vue | 5 +++-- 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/front/src/components/Promo/main.vue b/front/src/components/Promo/main.vue index 85b9c03..a73bd5c 100644 --- a/front/src/components/Promo/main.vue +++ b/front/src/components/Promo/main.vue @@ -29,7 +29,6 @@ const controlsState = reactive({ const { hasFinishLoading, progress } = await useProgress() const { scene: spot_light } = await useGLTF('/Spot_light.glb') const spot_light_item = spot_light.children[0] -const spot_light_ref = ref() const spot_light_target = ref() const target = new Object3D() @@ -49,10 +48,8 @@ onLoop(({ elapsed }) => { direction = 0.05 } spot_light_target.value.translateX(direction) - } }) -console.log(spot_light_target.value)