Changeset 10379 in orxonox.OLD for trunk/src/story_entities/menu
- Timestamp:
- Jan 26, 2007, 10:58:31 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/story_entities/menu/game_menu.cc
r10368 r10379 110 110 this->subscribeEvent(ES_MENU, SDLK_ESCAPE); 111 111 112 this->dataTank->localCamera->setRelCoor(this->cameraVector);112 State::getCamera()->setRelCoor(this->cameraVector); 113 113 //this->dataTank->localCamera->setFovy(60); 114 114 … … 391 391 Quaternion q(/*0.00005*/ dt * .1, Vector(0.0, 1.0, 0.0)); 392 392 this->cameraVector = q.apply(this->cameraVector); 393 this->dataTank->localCamera->setRelCoor(this->cameraVector);394 this->dataTank->localCamera->getTarget()->setRelCoorSoft(0,0,0);393 State::getCamera()->setRelCoor(this->cameraVector); 394 State::getCamera()->getTarget()->setRelCoorSoft(0,0,0); 395 395 } 396 396
Note: See TracChangeset
for help on using the changeset viewer.