Skip to content

VRageMath.Vector3D.DominantAxisProjection

Morten Aune Lyrstad edited this page Oct 10, 2019 · 16 revisions

IndexNamespace IndexVector3D

Summary

public static Vector3D DominantAxisProjection(Vector3D value1)

Returns a vector that is equal to the projection of the input vector to the coordinate axis that corresponds to the original vector's largest value.

Returns

Vector3D

Parameters

Summary

public static void DominantAxisProjection(ref Vector3D value1, out Vector3D result)

Calculates a vector that is equal to the projection of the input vector to the coordinate axis that corresponds to the original vector's largest value. The result is saved into a user-specified variable.

Parameters

Clone this wiki locally