Click or drag to resize

Vector2Atan2 Method

Returns the vector which contains the angles in radians whose tangents are the quotient of the corresponding components in the first specified vector y and the second specified vector x.

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2022.1.1.0 (2022.1.1.0)
Syntax
C#
public static Vector2 Atan2(
	Vector2 y,
	Vector2 x
)

Parameters

y
Type: NeoAxisVector2
The first vector.
x
Type: NeoAxisVector2
The second vector.

Return Value

Type: Vector2
The vector which contains the angles in radians whose tangents are the quotient of the corresponding components in the first specified vector y and the second specified vector x.
See Also