Example #1
0
 public bool Overlaps(Range3Int other)
 {
     return(
         Mathx.IsLesserOrEqual(min, other.max) &&
         Mathx.IsLesserOrEqual(other.min, max)
         );
 }
Example #2
0
 public bool Contains(Vector3Int otherMin, Vector3Int otherMax)
 {
     return(
         Mathx.IsLesserOrEqual(min, otherMin) &&
         Mathx.IsLesserOrEqual(otherMax, max)
         );
 }