Click or drag to resize

Vector3Distance Method (Vector3, Vector3)

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 double Distance(
	ref Vector3 v1,
	ref Vector3 v2
)

Parameters

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

Return Value

Type: Double
The distance between two vectors.
See Also