Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8421 in orxonox.OLD for branches/gui/src/lib/math/rect2D.cc


Ignore:
Timestamp:
Jun 14, 2006, 11:32:14 PM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: more widgets updated

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/gui/src/lib/math/rect2D.cc

    r8145 r8421  
    232232
    233233/**
     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 */
     239void 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 */
     249void 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 */
     259void Rect2D::setCenterY(float y)
     260{
     261#warning implement this
     262}
     263
     264/**
    234265 * @brief scales the Rectangle from topLeft out.
    235266 * @param x: the scale factor in x direction
Note: See TracChangeset for help on using the changeset viewer.