Changeset 6281 in orxonox.OLD for trunk/src/world_entities/world_entity.cc
- Timestamp:
- Dec 25, 2005, 4:07:53 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/world_entity.cc
r6222 r6281 286 286 void WorldEntity::draw() const 287 287 { 288 this->drawLODsafe(); 289 } 290 291 292 /** 293 * this functions draws the model automaticaly in multiple LOD 294 */ 295 void WorldEntity::drawLODsafe() const 296 { 297 if (!unlikely(this->models.empty())) 288 //PRINTF(0)("(%s::%s)\n", this->getClassName(), this->getName()); 289 // assert(!unlikely(this->models.empty())); 298 290 { 299 291 glMatrixMode(GL_MODELVIEW); … … 325 317 } 326 318 } 319 327 320 328 321 /**
Note: See TracChangeset
for help on using the changeset viewer.