angle Between
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
position A
The position A.
position B
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
x A
The x coordinate of the position A.
y A
The y coordinate of the position A.
x B
The x coordinate of the position B.
y B
The y coordinate of the position B.