From 51f9f3bbad9aafd8e9dd7cf728ad3d3559d8a02e Mon Sep 17 00:00:00 2001 From: Kseninia Mikhaylova Date: Mon, 1 Jul 2024 13:32:30 +0300 Subject: [PATCH] remove inertia --- front/src/components/Promo/env.vue | 14 +++++--------- front/src/components/Promo/load_models.vue | 8 +++----- front/src/components/Promo/main.vue | 1 + 3 files changed, 9 insertions(+), 14 deletions(-) diff --git a/front/src/components/Promo/env.vue b/front/src/components/Promo/env.vue index 1997a63..0396733 100644 --- a/front/src/components/Promo/env.vue +++ b/front/src/components/Promo/env.vue @@ -1,7 +1,7 @@ diff --git a/front/src/components/Promo/main.vue b/front/src/components/Promo/main.vue index ffb6353..1f08e19 100644 --- a/front/src/components/Promo/main.vue +++ b/front/src/components/Promo/main.vue @@ -32,6 +32,7 @@ const camera = ref() const cameraPosition = ref([1, 1, 1]) as unknown as Ref const controlsState = reactive({ + enableDamping:false, maxPolarAngle: (Math.PI / 2) - 0.05, minAzimuthAngle: (Math.PI / 2) - 0.02, })