Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


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

orxonox/trunk: fancy-shell :)

Location:
trunk/src/lib
Files:
2 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      }
  • trunk/src/lib/shell/shell.cc

    r5376 r5377  
    363363        lastText->setRelCoorSoft2D(this->calculateLinePosition(0),10);
    364364    2:
    365 
     365  */
    366366    lastText->setRelDir2D(-90);
    367367    lastText->setRelDirSoft2D(0, 10);
    368368    lastText->setRelCoor2D(this->calculateLinePosition(0)- Vector(-1000,0,0));
    369369    lastText->setRelCoorSoft2D(this->calculateLinePosition(0),10);
    370   */
    371     lastText->setRelCoor2D(this->calculateLinePosition(0));
     370
     371 //   lastText->setRelCoor2D(this->calculateLinePosition(0));
    372372    this->bufferText[0] = lastText;
    373373
Note: See TracChangeset for help on using the changeset viewer.