Skip to content

Commit

Permalink
simulator controls 좌표 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
mnmn092631 committed Sep 21, 2023
1 parent 3534899 commit 8ac0fd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion front/src/components/home/simulator/Controls.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const Controls = () => {
(7 - Number(selectedBlock[0])) * 100 +
42 +
(Number(selectedBlock[0]) - 7) * 16;
const z = (selectedBlock[1].charCodeAt(0) - 67) * 30 + 19;
const z = (selectedBlock[1].charCodeAt(0) - 67) * 25 + 15;
orbit.target.set(x, 0, z);
orbit.update();
orbit.setAzimuthalAngle(-0.3);
Expand Down

0 comments on commit 8ac0fd6

Please sign in to comment.