Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5377 in orxonox.OLD for trunk/src/lib/graphics/render2D


Ignore:
Timestamp:
Oct 13, 2005, 2:31:09 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: fancy-shell :)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/graphics/render2D/element_2d.cc

    r5376 r5377  
    630630      else
    631631      {
    632         this->setRelCoor2D(*this->toCoordinate+moveVect);
     632        Vector tmp = *this->toCoordinate;
     633        this->setRelCoor2D(tmp);
    633634        PRINTF(5)("SmoothMove of %s finished\n", this->getName());
    634635      }
     
    643644      else
    644645      {
    645         this->setRelDir2D(*this->toDirection+rotFlot);
     646        float tmp = *this->toDirection;
     647        this->setRelDir2D(tmp);
    646648        PRINTF(5)("SmoothRotate of %s finished\n", this->getName());
    647649      }
Note: See TracChangeset for help on using the changeset viewer.