#37 - only rotate on X axe
This commit is contained in:
parent
677309be6b
commit
4632aeb195
1 changed files with 0 additions and 6 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue