Exemplo n.º 1
0
 public Rect2i(int x, int y, int width, int height)
 {
     _position = new Vector2i(x, y);
     _size     = new Vector2i(width, height);
 }
Exemplo n.º 2
0
 public Rect2i(Vector2i position, int width, int height)
 {
     _position = position;
     _size     = new Vector2i(width, height);
 }
Exemplo n.º 3
0
 public Rect2i(int x, int y, Vector2i size)
 {
     _position = new Vector2i(x, y);
     _size     = size;
 }
Exemplo n.º 4
0
 // Constructors
 public Rect2i(Vector2i position, Vector2i size)
 {
     _position = position;
     _size     = size;
 }