Click or drag to resize
MathUtilsAtan2 Method
Returns the angle in radians between the positive x-axis of a plane and the point given by the coordinates (x, y).

Namespace: Slash.Math.Utils
Assembly: Slash.Math (in Slash.Math.dll) Version: 1.0.6018.40177
Syntax
public static float Atan2(
	float y,
	float x
)

Parameters

y
Type: SystemSingle
y-coordinate of the point.
x
Type: SystemSingle
x-coordinate of the point.

Return Value

Type: Single
Angle whose tangent is the quotient of the specified numbers.
See Also