Changeset 4996 in orxonox.OLD for orxonox/trunk/src/world_entities
- Timestamp:
- Aug 13, 2005, 2:21:18 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entities/camera.cc
r4994 r4996 142 142 case VIEW_FRONT: 143 143 this->toFovy = 120.0; 144 //this->softReparent("Player");144 this->softReparent("Player"); 145 145 this->target->softReparent("Player"); 146 146 this->setRelCoorSoft(4, 0, 0); … … 205 205 Vector cameraPosition = this->getAbsCoor(); 206 206 Vector targetPosition = this->target->getAbsCoor(); 207 Vector up = Vector(0, 1, 0); 208 up = this->getAbsDir().apply(up); 207 Vector up = this->getAbsDirV(); 209 208 210 209 // Setting the Camera Eye, lookAt and up Vectors
Note: See TracChangeset
for help on using the changeset viewer.