public Rectanglei(Vector2i pos, int width, int height) : this(pos.X, pos.Y, width, height) { }
public Rectanglei(Vector2i pos, Vector2i size) : this(pos, size.X, size.Y) { }
/// <summary> /// Constructs a new Vector2 from the given Vector2i. /// </summary> /// <param name="v">The Vector2i to copy components from.</param> public Vector2(Vector2i vec) { X = vec.X; Y = vec.Y; }