Click or drag to resize

Vector2HDistance Method (Vector2H, Vector2H)

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
C#
public static HalfType Distance(
	Vector2H v1,
	Vector2H v2
)

Parameters

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

Return Value

Type: HalfType
The distance between two vectors.
See Also