Click or drag to resize

Vector2FDistance Method (Vector2F, Vector2F)

Calculates the distance between two vectors.

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2023.1.2.0 (2023.1.2.0)
Syntax
C#
public static float Distance(
	Vector2F v1,
	Vector2F v2
)

Parameters

v1
Type: NeoAxisVector2F
The first vector.
v2
Type: NeoAxisVector2F
The second vector.

Return Value

Type: Single
The distance between two vectors.
See Also