Click or drag to resize

Vector4FDistance Method (Vector4F, Vector4F)

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 float Distance(
	ref Vector4F v1,
	ref Vector4F v2
)

Parameters

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

Return Value

Type: Single
The distance between two vectors.
See Also