Click or drag to resize

Vector2Distance(Vector2, Vector2) Method

Calculates the distance between two vectors.

Namespace: NeoAxis
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public static double Distance(
	ref Vector2 v1,
	ref Vector2 v2
)

Parameters

v1  Vector2
The first vector.
v2  Vector2
The second vector.

Return Value

Double
The distance between two vectors.
See Also