Changeset 5007 in orxonox.OLD for orxonox/trunk/src/world_entities
- Timestamp:
- Aug 14, 2005, 2:20:51 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entities/camera.cc
r5005 r5007 144 144 this->softReparent("Player"); 145 145 this->target->softReparent("Player"); 146 this->setRelCoorSoft(4, 0, 0 );147 this->target->setRelCoorSoft( 10,0,0);146 this->setRelCoorSoft(4, 0, 0, 5); 147 this->target->setRelCoorSoft(Vector(10,0,0), 5); 148 148 // this->target->setRelDirSoft(Quaternion(M_PI/4.0, Vector(0,1,0))); 149 149 break; … … 192 192 void Camera::apply () 193 193 { 194 this->target-> debugDraw(2);194 this->target->getParent()->debugDraw(0, 2); 195 195 // switching to Projection Matrix 196 196 glMatrixMode (GL_PROJECTION);
Note: See TracChangeset
for help on using the changeset viewer.