Esempio n. 1
0
 public static bool Intersects(this Index2 index, Rectangle rect) => rect.Intersects(index);
Esempio n. 2
0
 public Index3(Index2 pos) : this(pos, 0)
 {
 }
Esempio n. 3
0
 public static bool Intersects(this Rectangle rect, Index2 index) => rect.Intersects(new Rectangle(index.X, index.Y, 1, 1));
Esempio n. 4
0
 public Index3(Index2 pos, int z) : this(pos.X, pos.Y, z)
 {
 }