Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3675 in orxonox.OLD for orxonox/trunk/src/camera.cc


Ignore:
Timestamp:
Mar 30, 2005, 5:20:21 PM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: glmenu progressbar corrected, pnode modifications

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/camera.cc

    r3645 r3675  
    139139  if (tmpFovy > .001)
    140140    this->fovy += (this->toFovy - this->fovy) * dt;
    141   Vector tmpPos = (this->toRelCoor - this->getRelCoor()) * dt;
     141  Vector tmpPos = (this->toRelCoor - *this->getRelCoor()) * dt;
    142142  if (tmpPos.len() >= .001)
    143143    {
    144       tmpPos = tmpPos + this->getRelCoor();
     144      tmpPos = tmpPos + *this->getRelCoor();
    145145      this->setRelCoor(&tmpPos);
    146146    }
Note: See TracChangeset for help on using the changeset viewer.