Esempio n. 1
0
 public Range3Int Intersection(Range3Int other)
 {
     return(new Range3Int(
                Mathx.Max(min, other.min),
                Mathx.Min(max, other.max)
                ));
 }
Esempio n. 2
0
 public void Include(Vector3Int otherMin, Vector3Int otherMax)
 {
     min = Mathx.Min(min, otherMin);
     max = Mathx.Max(max, otherMax);
 }