Changeset 3675 in orxonox.OLD for orxonox/trunk/src/camera.cc
- Timestamp:
- Mar 30, 2005, 5:20:21 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/camera.cc
r3645 r3675 139 139 if (tmpFovy > .001) 140 140 this->fovy += (this->toFovy - this->fovy) * dt; 141 Vector tmpPos = (this->toRelCoor - this->getRelCoor()) * dt;141 Vector tmpPos = (this->toRelCoor - *this->getRelCoor()) * dt; 142 142 if (tmpPos.len() >= .001) 143 143 { 144 tmpPos = tmpPos + this->getRelCoor();144 tmpPos = tmpPos + *this->getRelCoor(); 145 145 this->setRelCoor(&tmpPos); 146 146 }
Note: See TracChangeset
for help on using the changeset viewer.