Method Atan2
Atan2(Single, Single)
Returns the angle between the x-axis and a 2D vector starting at zero and terminating at (x,y)
Declaration
public static float Atan2(float y, float x)
Parameters
Type | Name | Description |
---|---|---|
System.Single | y | The value to be squared |
System.Single | x | The value to be squared |
Returns
Type | Description |
---|---|
System.Single | The angle in radians whose Tan is y/x |