Changeset 10389 in orxonox.OLD for trunk/src/world_entities
- Timestamp:
- Jan 26, 2007, 6:42:44 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/camera.cc
r10388 r10389 22 22 #include "vector.h" 23 23 #include "targets.h" 24 #include "track/track.h" 24 25 #include "script_class.h" 25 26 … … 92 93 this->setParentMode(PNODE_ALL); 93 94 this->eventHandling = true; 95 96 //add to track 97 if(this->entityTrack) 98 this->setParent(this->entityTrack->getTrackNode()); 94 99 } 95 100 … … 208 213 if (fabsf(tmpFovy) > 0.01) 209 214 this->fovy += tmpFovy * fabsf(dt); 215 216 if(this->entityTrack) 217 this->entityTrack->tick(dt); 210 218 211 219
Note: See TracChangeset
for help on using the changeset viewer.