Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 26, 2005, 10:34:14 AM (19 years ago)
Author:
bensch
Message:

orxonox/branches/physics: intoducing state: stors the Camera position globally somewhere we have to store this data

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/physics/src/story_entities/world.cc

    r4283 r4293  
    2121
    2222#include "orxonox.h"
     23
     24#include "state.h"
    2325
    2426#include "p_node.h"
     
    203205  this->debugWorldNr = worldID;
    204206  this->entities = new tList<WorldEntity>();
     207 
     208  State::getInstance();
    205209}
    206210
     
    282286  this->localCamera = new Camera();
    283287  this->localCamera->setName ("camera");
    284  
     288
     289  State::getInstance()->setCamera(this->localCamera, this->localCamera->getTarget());
     290
    285291  GraphicsEngine::getInstance()->displayFPS(true);
    286292}
Note: See TracChangeset for help on using the changeset viewer.