diff --git a/doomsday/libdeng2/include/de/rectangle.h b/doomsday/libdeng2/include/de/rectangle.h index 046a334aa4..105544a53c 100644 --- a/doomsday/libdeng2/include/de/rectangle.h +++ b/doomsday/libdeng2/include/de/rectangle.h @@ -55,6 +55,10 @@ class Rectangle String asText() const { return "[" + topLeft.asText() + ", " + bottomRight.asText() + "]"; } + Type left() const { return topLeft.x; } + Type right() const { return bottomRight.x; } + Type top() const { return topLeft.y; } + Type bottom() const { return bottomRight.y; } Corner topRight() const { return Corner(bottomRight.x, topLeft.y); }