Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Math.atan2(198-135, 30-135)*180/Math.PI //เลข 1 ควรจะได้คำตอบประมาณ 30 องศา
- >> 149.03624346792648
- Math.atan2(197-135, 244.5-135)*180/Math.PI //เลข 5 ควรจะได้คำตอบประมาณ 150 องศา
- >> 29.518975007692248
- Math.atan2(26-135, 72.5-135)*180/Math.PI //เลข 10 ควรจะได้คำตอบประมาณ 300 (หรือ -60) องศา
- >> -119.82972197458857
Add Comment
Please, Sign In to add comment