Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10473 in orxonox.OLD for trunk/src/story_entities


Ignore:
Timestamp:
Jan 29, 2007, 12:55:48 AM (18 years ago)
Author:
patrick
Message:

more cameara bugs fixed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/story_entities/game_world.cc

    r10456 r10473  
    452452
    453453    // tick camera first
    454     State::getCamera()->tick(this->dtS);
     454    CameraMan* man = State::getCameraman();
     455    (man->getCurrentCam())->tick(this->dtS);
    455456    // TICK everything
    456457    for (i = 0; i < this->dataTank->tickLists.size(); ++i)
     
    587588void GameWorld::applyCameraSettings()
    588589{
    589 
    590   State::getCamera()->apply ();
    591   State::getCamera()->project ();
     590  CameraMan* man = State::getCameraman();
     591  man->getCurrentCam()->apply ();
     592  man->getCurrentCam()->project ();
    592593  GraphicsEngine::storeMatrices();
    593594}
Note: See TracChangeset for help on using the changeset viewer.