Changeset 4994 in orxonox.OLD for orxonox/trunk/src/world_entities/camera.cc
- Timestamp:
- Aug 13, 2005, 11:57:23 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entities/camera.cc
r4992 r4994 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); … … 180 180 if (tmpFovy > .001) 181 181 this->fovy += (this->toFovy - this->fovy) * dt; 182 183 this->getParent()->debug(2);184 //this->debug(1);185 //this->target->debug(1);186 182 } 187 183 … … 195 191 void Camera::apply () 196 192 { 193 this->target->debugDraw(2); 197 194 // switching to Projection Matrix 198 195 glMatrixMode (GL_PROJECTION);
Note: See TracChangeset
for help on using the changeset viewer.