Vector2Distance Method (Vector2, Vector2) |
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 double Distance(
Vector2 v1,
Vector2 v2
)
Parameters
- v1
- Type: NeoAxisVector2
The first vector. - v2
- Type: NeoAxisVector2
The second vector.
Return Value
Type:
DoubleThe distance between two vectors.
See Also