#37 - only rotate on X axe

This commit is contained in:
isUnknown 2024-12-17 12:07:42 +01:00
parent 677309be6b
commit 4632aeb195

View file

@ -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;