Changeset 10495 in orxonox.OLD for trunk/src/world_entities/camera.cc
- Timestamp:
- Jan 30, 2007, 1:54:25 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/camera.cc
r10478 r10495 26 26 #include "state.h" 27 27 28 #include "debug.h" 29 28 30 29 31 ObjectListDefinition(Camera); … … 103 105 { 104 106 this->setParent(this->entityTrack->getTrackNode()); 105 this->setRelCoor(0,0,0);107 //this->setRelCoor(0,0,0); 106 108 } 107 109 } … … 215 217 this->viewVector = (this->target->getAbsCoor() - this->getAbsCoor()).getNormalized(); 216 218 this->frustumPlane = Plane(this->viewVector, this->getAbsCoor() + this->viewVector * 0.1); 217 this->upVector = 219 this->upVector = this->getAbsDirV(); 218 220 219 221 // iteration for fovy … … 223 225 224 226 if(this->entityTrack) 227 { 228 //PRINTF(0)("tickytackytucky\n"); 225 229 this->entityTrack->tick(dt); 226 230 //this->setAbsCoor(this->entityTrack->getTrackNode()->getAbsCoor()); 231 } 227 232 228 233
Note: See TracChangeset
for help on using the changeset viewer.