Hacker News new | ask | show | jobs
by m-chrzan 2471 days ago
The javascript implementation defines deg2rad as

  deg * Math.PI / 360
It's been a while since high school math, but shouldn't that be divided by 180? Looks like the numbers in the docs are based on this incorrect conversion.
1 comments

You're right, thank you. This is a mistake. This will be corrected as quickly as possible.

ETA: This has been corrected. Thank you.