remove ATAN2 define

This commit is contained in:
spookerton
2022-03-31 19:23:29 +01:00
parent b4c3fe9eeb
commit 2dda71ecf0
7 changed files with 7 additions and 10 deletions
+1 -1
View File
@@ -23,5 +23,5 @@
/datum/compass_waypoint/proc/recalculate_heading(var/cx, var/cy)
var/matrix/M = matrix()
M.Translate(0, (name ? COMPASS_LABEL_OFFSET-4 : COMPASS_LABEL_OFFSET))
M.Turn(ATAN2(cy-y, cx-x)+180)
M.Turn(arctan(cy-y, cx-x)+180)
compass_overlay.transform = M