Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10379 in orxonox.OLD for trunk/src/story_entities/game_world.cc


Ignore:
Timestamp:
Jan 26, 2007, 10:58:31 AM (19 years ago)
Author:
patrick
Message:

merged branche camera to trunk. resolved many conflicts as in the other projects too

File:
1 edited

Legend:

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

    r10376 r10379  
    449449
    450450    /* update tick the rest */
    451     this->dataTank->localCamera->tick(this->dtS);
     451    State::getCamera()->tick(this->dtS);
    452452    AnimationPlayer::getInstance()->tick(this->dtS);
    453453    PhysicsEngine::getInstance()->tick(this->dtS);
     
    578578void GameWorld::applyCameraSettings()
    579579{
    580   this->dataTank->localCamera->apply ();
    581   this->dataTank->localCamera->project ();
     580
     581  State::getCamera()->apply ();
     582  State::getCamera()->project ();
    582583  GraphicsEngine::storeMatrices();
    583584}
Note: See TracChangeset for help on using the changeset viewer.