Vector2FDistance Method (Vector2F, Vector2F) |
Calculates the distance between two vectors.
Namespace:
NeoAxis
Assembly:
NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax public static float Distance(
ref Vector2F v1,
ref Vector2F v2
)
Parameters
- v1
- Type: NeoAxisVector2F
The first vector. - v2
- Type: NeoAxisVector2F
The second vector.
Return Value
Type:
SingleThe distance between two vectors.
See Also