Skip to content

Commit

Permalink
Fully functional rotation
Browse files Browse the repository at this point in the history
  • Loading branch information
fromtheeast710 committed Aug 3, 2024
1 parent 81d4e8e commit ea9776b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/layout/3DFractal.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,8 @@
oldPos = { x: event.pageX, y: event.pageY };
rotate[0] = event.pageX / 700;
rotate[1] = event.pageY / 700;
rotate[0] += dy * 0.01;
rotate[1] += dx * 0.01;
draw();
}
Expand Down

0 comments on commit ea9776b

Please sign in to comment.