longestAxis

static Direction.Axis longestAxis(Vec3f vec)

See also

#longestAxis(float, float, float)

#longestAxis(float, float, float)

static Direction.Axis longestAxis(float normalX, float normalY, float normalZ)

Identifies the largest (max absolute magnitude) component (X, Y, Z) in the given vector.