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: 2024.1.1.0 (2024.1.1.0)
Syntax public static Vector2 Atan2(
Vector2 y,
Vector2 x
)
Parameters
- y
- Type: NeoAxisVector2
The first vector. - x
- Type: NeoAxisVector2
The second vector.
Return Value
Type:
Vector2The 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