Skip to content
This repository was archived by the owner on Dec 13, 2025. It is now read-only.

VRageMath.Vector3D.DominantAxisProjection

Malware edited this page Dec 25, 2018 · 17 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