Changeset 7925 in orxonox.OLD for branches/gui/src/lib/math
- Timestamp:
- May 28, 2006, 5:56:17 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gui/src/lib/math/rect2D.h
r7919 r7925 83 83 inline void setRight(float right) { _bottomRight.x = right; }; 84 84 /** @param topLeft the top left corner of the Rectangle */ 85 void setTopLeft(const Vector2D& topLeft) { _topLeft = topLeft; }; 85 inline void setTopLeft(const Vector2D& topLeft) { _topLeft = topLeft; }; 86 /** @param x the left border of the Rectangle @param y the top border */ 87 inline void setTopLeft(float x, float y) { this->setTopLeft(Vector2D(x,y)); }; 86 88 /** @param bottomRight the lower right corner of the Rectangle */ 87 void setBottomRight(const Vector2D& bottomRight) { _bottomRight = bottomRight; }; 89 inline void setBottomRight(const Vector2D& bottomRight) { _bottomRight = bottomRight; }; 90 /** @param x the right border of the Rectangle @param y the bottom border */ 91 inline void setBottomRight(float x, float y) { this->setBottomRight(Vector2D(x,y)); }; 88 92 89 93 void setWidth(float width);
Note: See TracChangeset
for help on using the changeset viewer.