Returns the angle (in radians), which a vector with y and x coordinates forms with the X-axis
'Declaration
Public Shared Function Atan2Normalized( _
ByVal As System.Single, _
ByVal As System.Single _
) As System.Single
'Usage
Dim y As System.Single
Dim x As System.Single
Dim value As System.Single
value = NMath.Atan2Normalized(y, x)
public static System.float Atan2Normalized(
System.float ,
System.float
)
Parameters
- y
- x
Return Value
angle in range [0, PI * 2)
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2