Changeset 3645 in orxonox.OLD for orxonox/trunk/src
- Timestamp:
- Mar 23, 2005, 3:51:56 PM (20 years ago)
- Location:
- orxonox/trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/camera.cc
r3643 r3645 136 136 { 137 137 dt /= 500; 138 this->fovy += (this->toFovy - this->fovy) * dt; 139 Vector tmp = this->getRelCoor() + (this->toRelCoor - this->getRelCoor()) * dt; 140 this->setRelCoor(&tmp); 138 float tmpFovy = (this->toFovy - this->fovy) * dt; 139 if (tmpFovy > .001) 140 this->fovy += (this->toFovy - this->fovy) * dt; 141 Vector tmpPos = (this->toRelCoor - this->getRelCoor()) * dt; 142 if (tmpPos.len() >= .001) 143 { 144 tmpPos = tmpPos + this->getRelCoor(); 145 this->setRelCoor(&tmpPos); 146 } 141 147 } 142 148 -
orxonox/trunk/src/defs/debug.h
r3617 r3645 58 58 // DEFINE MODULES \\ 59 59 #define DEBUG_MODULE_ORXONOX 2 60 #define DEBUG_MODULE_WORLD 260 #define DEBUG_MODULE_WORLD 3 61 61 #define DEBUG_MODULE_PNODE 2 62 62 #define DEBUG_MODULE_WORLD_ENTITY 2
Note: See TracChangeset
for help on using the changeset viewer.