Spine
![[Spine, js] Math.atan ํ์ฉ](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FbwFDxh%2FbtrRHBhDsQb%2FTsQyciIpBE0wWNaotSfw4k%2Fimg.png)
[Spine, js] Math.atan ํ์ฉ
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/atan https://www.cuemath.com/trigonometry/arctan/ ์ผ๊ฐ๋ฒ์์ arctan ์ ์ญ ํ์ ํธ ํจ์๋ฅผ ๋ํ๋ ๋๋ค. ์ญ์ผ๊ฐ ํจ์๋ ์ผ๋ฐ์ ์ผ๋ก ์ ๋์ฌ - arc๋ฅผ ๋๋ฐํฉ๋๋ค. ์ํ์ ์ผ๋ก ์ฐ๋ฆฌ๋ arctan ๋๋ ์ญํ์ ํธ ํจ์๋ฅผ tan -1 x ๋๋ arctan(x)๋ก ๋ํ๋ ๋๋ค. ์ํฌํ ๊ณต์ ์์์ ๋ ผ์ํ ๋ฐ์ ๊ฐ์ด arctan์ ๊ธฐ๋ณธ ๊ณต์์ arctan(์์ง/๋ฐ๋ฉด) = ฮธ๋ก ์ฃผ์ด์ง๋ฉฐ, ์ฌ๊ธฐ์ ฮธ๋ ๋น๋ณ๊ณผ ์ง๊ฐ ์ผ๊ฐํ์ ๋ฐ๋ฉด ์ฌ์ด์ ๊ฐ๋์ ๋๋ค. ๊ฐ๋ ฮธ์ ๊ฐ์ ๊ฐ๋ ๋๋ ๋ผ๋์์ผ๋ก ์ฐพ๊ธฐ ์ํด arctan์ ๋ํด ์ด ๊ณต์์ ์ฌ..