Changeset 3635 in orxonox.OLD for orxonox/trunk/src/story_entities/world.cc
- Timestamp:
- Mar 23, 2005, 12:24:48 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/story_entities/world.cc
r3634 r3635 302 302 303 303 // bind camera 304 this->localCamera = new Camera( this);304 this->localCamera = new Camera(); 305 305 this->localCamera->setName ("camera"); 306 this->localCamera->bind (this->localPlayer); 306 this->localCamera->lookAt(this->localPlayer); 307 307 308 /*monitor progress*/ 308 309 this->glmis->step(); … … 366 367 367 368 // bind camera 368 this->localCamera = new Camera ( this);369 this->localCamera = new Camera (); 369 370 this->localCamera->setName ("camera"); 370 this->localCamera-> bind (myPlayer);371 this->localCamera->lookAt(this->localPlayer); 371 372 this->localPlayer->addChild (this->localCamera); 372 373 … … 749 750 750 751 /* update tick the rest */ 751 this->localCamera->tick(dt);752 752 this->trackManager->tick(dt); 753 753 }
Note: See TracChangeset
for help on using the changeset viewer.