From 4632aeb1957257057bd858a968814fe6cd6590c3 Mon Sep 17 00:00:00 2001 From: isUnknown Date: Tue, 17 Dec 2024 12:07:42 +0100 Subject: [PATCH] #37 - only rotate on X axe --- src/components/project/virtual-sample/Interactive360.vue | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/components/project/virtual-sample/Interactive360.vue b/src/components/project/virtual-sample/Interactive360.vue index 264b11d..66f136f 100644 --- a/src/components/project/virtual-sample/Interactive360.vue +++ b/src/components/project/virtual-sample/Interactive360.vue @@ -141,12 +141,6 @@ const { isLoopAnimationEnabled } = storeToRefs(useVirtualSampleStore()); function loopAnimation() { rotateX("right"); - - if (currentX.value < xMax.value / 2) { - if (currentY.value < yMax.value - 1) currentY.value++; - } else { - if (currentY.value > 0) currentY.value--; - } } let animationIntervalId;