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 24, 2018 · 17 revisions

IndexVector3

Vector3 DominantAxisProjection(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.

void DominantAxisProjection(ref Vector3 value1, ref 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