From df88962442d9b9dc398683c8effd4dc5fdf8d4c2 Mon Sep 17 00:00:00 2001 From: Kseninia Mikhaylova Date: Fri, 14 Jun 2024 12:22:07 +0300 Subject: [PATCH] bias - inner shadow fences --- components/model/fence.vue | 4 ++-- components/model/item.vue | 4 ++-- components/model/parametric.vue | 12 +++++++++--- 3 files changed, 13 insertions(+), 7 deletions(-) diff --git a/components/model/fence.vue b/components/model/fence.vue index 821e2d8..4263306 100644 --- a/components/model/fence.vue +++ b/components/model/fence.vue @@ -14,11 +14,11 @@ const lSize = 0.115 const bSize = 0.0235 const pillar_size = 80 * 0.001 -const pillar_one_pos = ref(fence_section.value * -0.5 - 0.01) +const pillar_one_pos = ref(fence_section.value * -0.5 - 0.015) const pillar_two_pos = ref(fence_section.value * 0.5 + pillar_size + bSize - 0.01) watch([fence_section, lamelles_count], () => { - pillar_one_pos.value = fence_section.value * -0.5 - 0.01 + pillar_one_pos.value = fence_section.value * -0.5 - 0.015 pillar_two_pos.value = fence_section.value * 0.5 + pillar_size + bSize - 0.01 }) const scale_koef = 2.5 diff --git a/components/model/item.vue b/components/model/item.vue index d23d184..d209fe1 100644 --- a/components/model/item.vue +++ b/components/model/item.vue @@ -1,6 +1,6 @@