VRageMath.Vector3L.DominantAxisProjection - bimbam2103/space_engineers GitHub Wiki
← Index ← Namespace Index ← Vector3L
public static Vector3L DominantAxisProjection(Vector3L 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.
- Vector3L value1
public static void DominantAxisProjection(ref Vector3L value1, out Vector3L 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 longo a user-specified variable.