Skip to content

Instantly share code, notes, and snippets.

@lmas
Created June 30, 2016 19:51
Show Gist options
  • Save lmas/42664875d6e66b03c9048146d060b3b9 to your computer and use it in GitHub Desktop.
Save lmas/42664875d6e66b03c9048146d060b3b9 to your computer and use it in GitHub Desktop.
x, y = float
radians = atan2(y,x)
degrees = radians * (180 / pi)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment