Changeset 2388 for code/branches/lodfinal/src/orxonox
- Timestamp:
- Dec 10, 2008, 4:49:48 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/lodfinal/src/orxonox/objects/worldentities/Planet.cc
r2380 r2388 73 73 return; 74 74 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; 77 78 Real planetRadius = this->getScale(); 78 79
Note: See TracChangeset
for help on using the changeset viewer.