/ Published in: Python
Expand |
Embed | Plain Text
import math radians = math.atan2(y2 - y1, x2 - x1) degrees = math.degrees(radians)
You need to login to post a comment.
gdvickery on 12/18/09
1 person have marked this snippet as a favorite
import math radians = math.atan2(y2 - y1, x2 - x1) degrees = math.degrees(radians)
You need to login to post a comment.