Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 10, 2008, 6:07:13 PM (16 years ago)
Author:
FelixSchulthess
Message:

messing up planet so it will work in client mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/lodfinal/src/orxonox/objects/worldentities/Planet.cc

    r2394 r2395  
    7373       
    7474        if(!activeCamera_) activeCamera_ = CameraManager::getInstance().getActiveCamera();
    75         Real distance = this->getPosition().distance( activeCamera->getWorldPosition() );
     75        Real distance = this->getPosition().distance(activeCamera_->getWorldPosition() );
    7676        COUT(2) << distance << std::endl;
    7777        Real planetRadius = this->getScale();
Note: See TracChangeset for help on using the changeset viewer.