Changeset 10272 in orxonox.OLD for branches/camera/src/story_entities
- Timestamp:
- Jan 17, 2007, 6:16:08 PM (18 years ago)
- Location:
- branches/camera/src/story_entities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/camera/src/story_entities/game_world.cc
r10258 r10272 551 551 State::getCamera()->apply (); 552 552 State::getCamera()->project (); 553 //this->dataTank->localCamera->apply ();554 //this->dataTank->localCamera->project ();555 553 GraphicsEngine::storeMatrices(); 556 554 } -
branches/camera/src/story_entities/game_world_data.cc
r10259 r10272 30 30 #include "player.h" 31 31 #include "camera.h" 32 #include "cameraman.h" 32 33 #include "terrain.h" 33 34 #include "skybox.h" … … 99 100 PNode::getNullParent(); 100 101 Camera* localCamera = new Camera(); 101 localCamera->setName ("GameWorld-Camera");102 localCamera->setName ("GameWorld-Camera"); 102 103 State::setCamera(localCamera, localCamera->getTarget()); 103 104 cameraman* camMan = new cameraman(); 105 State::setCameraman(camMan); 104 106 LightManager::getInstance(); 105 107 … … 332 334 LoadParamXML(root, "GameRule", this, GameWorldData, loadGameRule); 333 335 334 LoadParam(root, "clip-region", State::getCamera (), Camera, setClipRegion);336 LoadParam(root, "clip-region", State::getCameraman(), cameraman, setClipRegion); 335 337 336 338
Note: See TracChangeset
for help on using the changeset viewer.