Advertisement
Guest User

Untitled

a guest
Apr 3rd, 2015
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.17 KB | None | 0 0
  1.     @staticmethod
  2.     def FromPolar(angle, dist):
  3.         x = dist * math.cos(math.radians(angle))
  4.         y = dist * -math.sin(math.radians(angle))
  5.         return Point(x, y)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement