예제 #1
0
 public static RectInt2 FromPosSize(Int2 pos, Int2 size) =>
 new RectInt2
 {
     TopLeft = pos, BottomRight = pos + size
 };
예제 #2
0
 public static RectInt2 FromSize(Int2 size) =>
 new RectInt2
 {
     BottomRight = size
 };