Click or drag to resize

Vector3FDistance Method (Vector3F, Vector3F)

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(
	Vector3F v1,
	Vector3F v2
)

Parameters

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

Return Value

Type: Single
The distance between two vectors.
See Also