VRageMath.Vector3I.DominantAxisProjection - bimbam2103/space_engineers GitHub Wiki
← Index ← Namespace Index ← Vector3I
public static Vector3I DominantAxisProjection(Vector3I 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.
- Vector3I value1
public static void DominantAxisProjection(ref Vector3I value1, out Vector3I 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.