angleBetween
Calculates the angle between the given positions.
The method use the Math.atan2 for gets the angle.
Return
A value in the range from 0 to 2PI radians clockwise.
Parameters
positionA
The position A.
positionB
The position B
Calculates the angle between the given positions.
The method use the Math.atan2 for gets the angle.
Return
A value in the range from 0 to 2PI radians clockwise.
Parameters
xA
The x coordinate of the position A.
yA
The y coordinate of the position A.
xB
The x coordinate of the position B.
yB
The y coordinate of the position B.