예제 #1
0
 public RectangleInt2 Union(RectangleInt2 other) =>
 new RectangleInt2(VectorInt2.Min(Start, other.Start), VectorInt2.Max(End, other.End));
예제 #2
0
 public RectangleInt2 Intersect(RectangleInt2 other) =>
 new RectangleInt2(VectorInt2.Max(Start, other.Start), VectorInt2.Min(End, other.End));