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

VRageMath.Vector3.DominantAxisProjection

Malware edited this page Dec 25, 2018 · 17 revisions

IndexVector3

csharp[Vector3](VRageMath.Vector3) DominantAxisProjection([Vector3](VRageMath.Vector3) 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 [Vector3](VRageMath.Vector3) value1, ref [Vector3](VRageMath.Vector3) 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