Skip to content

Instantly share code, notes, and snippets.

View padreon's full-sized avatar
🤿
on vacation

padreon

🤿
on vacation
  • Working on private repository
  • I Don't Know
View GitHub Profile
0 0 1 = 0/360
-1 0 1 = 45
-1 0 0 = 90
-1 0 -1 = 135
0 0 -1 = 180
1 0 -1 = 225
1 0 0 = 270
1 0 1 = 315
https://www.php.net/manual/en/function.atan2.php