Why are the arguments to atan2 Y,X rather than X,Y? December 5, 2023 by Tarik Because it is related to arctan(y/x), so y appears first. Here’s a nice link talking about it a bit: Angles and Directions