Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

VRageMath.Vector3.DominantAxisProjection

Morten Aune Lyrstad edited this page Oct 10, 2019 · 16 revisions

IndexNamespace IndexVector3

Summary

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

Returns

Vector3

Parameters

Summary

public static void DominantAxisProjection(ref Vector3 value1, out Vector3 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.

Parameters

Clone this wiki locally