Click or drag to resize

UtilDistance Method (Vector3, Vector3)

The distance between the two supplied points.

Namespace:  Demo3D.Common
Assembly:  Demo3D.Common (in Demo3D.Common.dll) Version: 15.0.2.11458
Syntax
C#
public static double Distance(
	Vector3 a,
	Vector3 b
)

Parameters

a
Type: Microsoft.DirectXVector3
The first point.
b
Type: Microsoft.DirectXVector3
The second point.

Return Value

Type: Double
The distance between the two points.
See Also