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

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

Calculates the distance between two vectors squared.

Namespace: VRageMath
Assembly: VRage.Math (in VRage.Math.dll) Version: 1.0.0.0
Syntax
C#
public static void DistanceSquared(
	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 two vectors squared.
See Also