Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2388 for code/branches


Ignore:
Timestamp:
Dec 10, 2008, 4:49:48 PM (16 years ago)
Author:
runom
Message:

Added additional files for planet

File:
1 edited

Legend:

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

    r2380 r2388  
    7373            return;
    7474           
    75         Camera* test = CameraManager::getInstance().getActiveCamera();
    76         Real distance = this->getPosition().distance( test->getWorldPosition() );       
     75        Camera* activeCamera = CameraManager::getInstance().getActiveCamera();
     76        Real distance = this->getPosition().distance( activeCamera->getWorldPosition() );
     77        COUT(2) << distance << std::endl;
    7778        Real planetRadius = this->getScale();
    7879       
Note: See TracChangeset for help on using the changeset viewer.