Changeset 10259 in orxonox.OLD for branches/camera/src/story_entities/menu/game_menu.cc
- Timestamp:
- Jan 17, 2007, 3:46:05 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/camera/src/story_entities/menu/game_menu.cc
r9869 r10259 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 114 114 GraphicsEngine::getInstance()->displayFPS(false); … … 390 390 Quaternion q(/*0.00005*/ dt * .1, Vector(0.0, 1.0, 0.0)); 391 391 this->cameraVector = q.apply(this->cameraVector); 392 this->dataTank->localCamera->setRelCoor(this->cameraVector);393 this->dataTank->localCamera->getTarget()->setRelCoorSoft(0,0,0);392 State::getCamera()->setRelCoor(this->cameraVector); 393 State::getCamera()->getTarget()->setRelCoorSoft(0,0,0); 394 394 } 395 395
Note: See TracChangeset
for help on using the changeset viewer.