◆ LargestCoordinate()

static int LargestCoordinate ( this Vector3  vec)
static
Parameters
vecThe vector to be analyzed
Returns
an index between 0 ad 2, inclusive, that indicates which vector component has the largest value. Given equal values, the lowest index will be returned.