Changeset 7014 in orxonox.OLD for trunk/src/world_entities/world_entity.cc
- Timestamp:
- Feb 3, 2006, 2:14:22 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/world_entity.cc
r6959 r7014 30 30 31 31 #include "state.h" 32 #include "camera.h" 32 33 33 34 using namespace std; … … 319 320 320 321 // This Draws the LOD's 321 float cameraDistance = (State::getCamera()->getAbsCoor() - this->getAbsCoor()).len(); 322 float cameraDistance = State::getCamera()->distance(this); 323 printf("%s::%s, distance %f\n", this->getClassName(), this->getName(), cameraDistance); 322 324 if (cameraDistance > 30 && this->models.size() >= 3 && this->models[2] != NULL) 323 325 {
Note: See TracChangeset
for help on using the changeset viewer.