cutechicken commited on
Commit
580f46e
Β·
verified Β·
1 Parent(s): 1dd4a80

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +2 -2
index.html CHANGED
@@ -559,8 +559,8 @@
559
  const pitchDegrees = this.fighter.rotation.x * (180 / Math.PI);
560
  // 10도당 20ν”½μ…€μ΄λ―€λ‘œ, 1도당 2ν”½μ…€
561
  // 음수λ₯Ό κ³±ν•΄μ„œ ν”ΌμΉ˜κ°€ μœ„λ‘œ ν–₯ν•  λ•Œ λž˜λ”κ°€ μ•„λž˜λ‘œ μ΄λ™ν•˜λ„λ‘ μˆ˜μ •
562
- // 초기 μ˜€ν”„μ…‹ 350px κ³ λ €
563
- const pitchOffset = 350 + (-pitchDegrees * 2);
564
  pitchLadder.style.transform = `translateY(${pitchOffset}px)`;
565
  }
566
 
 
559
  const pitchDegrees = this.fighter.rotation.x * (180 / Math.PI);
560
  // 10도당 20ν”½μ…€μ΄λ―€λ‘œ, 1도당 2ν”½μ…€
561
  // 음수λ₯Ό κ³±ν•΄μ„œ ν”ΌμΉ˜κ°€ μœ„λ‘œ ν–₯ν•  λ•Œ λž˜λ”κ°€ μ•„λž˜λ‘œ μ΄λ™ν•˜λ„λ‘ μˆ˜μ •
562
+ // 초기 μ˜€ν”„μ…‹ -100px κ³ λ €
563
+ const pitchOffset = -100 + (-pitchDegrees * 2);
564
  pitchLadder.style.transform = `translateY(${pitchOffset}px)`;
565
  }
566