Click or drag to resize
Vector3Distance Method (Vector3, Vector3, Single)

[This is preliminary documentation and is subject to change.]

Calculates the distance between two vectors.

Namespace: VRageMath
Assembly: VRage.Math (in VRage.Math.dll) Version: 1.0.0.0
Syntax
C#
public static void Distance(
	ref Vector3 value1,
	ref Vector3 value2,
	out float result
)

Parameters

value1
Type: VRageMathVector3
Source vector.
value2
Type: VRageMathVector3
Source vector.
result
Type: SystemSingle
[OutAttribute] The distance between the vectors.
See Also