◆ SmallestCoordinate()

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