Changeset 2395
- Timestamp:
- Dec 10, 2008, 6:07:13 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/lodfinal/src/orxonox/objects/worldentities/Planet.cc
r2394 r2395 73 73 74 74 if(!activeCamera_) activeCamera_ = CameraManager::getInstance().getActiveCamera(); 75 Real distance = this->getPosition().distance( activeCamera->getWorldPosition() );75 Real distance = this->getPosition().distance(activeCamera_->getWorldPosition() ); 76 76 COUT(2) << distance << std::endl; 77 77 Real planetRadius = this->getScale();
Note: See TracChangeset
for help on using the changeset viewer.