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(
Vector2F v1,
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