/// <summary> /// Floating-point rectangle constructor /// </summary> /// <param name="top">The top of the rectangle</param> /// <param name="left">The left of the rectangle</param> /// <param name="bottom">The bottom of the rectangle</param> /// <param name="right">The right of the rectangle</param> public DBoudingBox(double left, double top, double width, double height) { topLeft = new Vector2(left, top); size = new Vector2(width, height); }