Why is it that the parameters to the atan2 function are “backwards”? Ie, why does it accepts coordinates in the form y, x
instead of the standard x, y
?
Because it's similar to atan(y / x)
, with y
as numerator and x
as denominator.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With