atan2 has signature (y, x), i.e. y goes first