From cac6bf1bff188857c272428adf8bdb9061eacfb9 Mon Sep 17 00:00:00 2001 From: Kseninia Mikhaylova Date: Wed, 25 Sep 2024 15:28:33 +0300 Subject: [PATCH] rotate --- components/calc/values.vue | 24 ++++++++---------------- components/model/parametric.vue | 22 +++++++++++++++++----- 2 files changed, 25 insertions(+), 21 deletions(-) diff --git a/components/calc/values.vue b/components/calc/values.vue index c0c36c7..8bb4b5b 100644 --- a/components/calc/values.vue +++ b/components/calc/values.vue @@ -17,9 +17,6 @@ const section_count = use_section_count() const extra_section = use_extra_section() const total_length = use_total_length() const min_length = use_min_length() -const goto_cam = use_goto_camera() -const goto_target = use_goto_target() -const open_calc = use_open_calc() if (!pillar_color.value) { const r = Math.floor(Math.random() * predefPillarColors.length) @@ -139,7 +136,6 @@ const changeParametres = () => { goal('calc_fence', form_state) } - const setLamelleColor = (color: ralTypes) => { lamelle_color.value = color; lamelle_text.value = contrastColor(color) ?? '#000' @@ -184,13 +180,6 @@ const calc_table = computed(() => { }, ] }) - -watch(open_calc, () => { - if (Object.keys(open_calc.value).length == 0) { - goto_cam.value = new Vector3(0, 0, 0) - goto_target.value = new Vector3(0, 0, 0) - } -})