Changeset 8421 in orxonox.OLD for branches/gui/src/lib/math/rect2D.cc
- Timestamp:
- Jun 14, 2006, 11:32:14 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gui/src/lib/math/rect2D.cc
r8145 r8421 232 232 233 233 /** 234 * @brief sets the new Center 235 * @param x the center's X to move the Rectangle to. 236 * @param y the center's Y to move the Rectangle to. 237 * moves the Rectangle from its current center to the new Center 238 */ 239 void Rect2D::setCenter(float x, float y) 240 { 241 this->setCenter(Vector2D(x, y)); 242 } 243 244 /** 245 * @brief sets the new Center 246 * @param center the center to move the Rectangle to. 247 * moves the Rectangle from its current center to the new Center 248 */ 249 void Rect2D::setCenterX(float x) 250 { 251 #warning implement this 252 } 253 254 /** 255 * @brief sets the new Center 256 * @param center the center to move the Rectangle to. 257 * moves the Rectangle from its current center to the new Center 258 */ 259 void Rect2D::setCenterY(float y) 260 { 261 #warning implement this 262 } 263 264 /** 234 265 * @brief scales the Rectangle from topLeft out. 235 266 * @param x: the scale factor in x direction
Note: See TracChangeset
for help on using the changeset viewer.