コード例 #1
0
ファイル: RectInt2.cs プロジェクト: scottbilas/advent-of-code
 public static RectInt2 FromPosSize(Int2 pos, Int2 size) =>
 new RectInt2
 {
     TopLeft = pos, BottomRight = pos + size
 };
コード例 #2
0
ファイル: RectInt2.cs プロジェクト: scottbilas/advent-of-code
 public static RectInt2 FromSize(Int2 size) =>
 new RectInt2
 {
     BottomRight = size
 };