Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @staticmethod
- def FromPolar(angle, dist):
- x = dist * math.cos(math.radians(angle))
- y = dist * -math.sin(math.radians(angle))
- return Point(x, y)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement