Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

VRageMath.Vector3D.DominantAxisProjection

Malware edited this page Dec 25, 2018 · 16 revisions

IndexVector3D

csharp[Vector3D](VRageMath.Vector3D) DominantAxisProjection([Vector3D](VRageMath.Vector3D) value1)##### Summary

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.

csharpvoid DominantAxisProjection(ref [Vector3D](VRageMath.Vector3D) value1, ref [Vector3D](VRageMath.Vector3D) result)##### Summary

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.

Clone this wiki locally