Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6281 in orxonox.OLD for trunk/src/world_entities/world_entity.cc


Ignore:
Timestamp:
Dec 25, 2005, 4:07:53 PM (20 years ago)
Author:
bensch
Message:

trunk: make usage of the Virtual-derivates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/world_entity.cc

    r6222 r6281  
    286286void WorldEntity::draw() const
    287287{
    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()));
    298290  {
    299291    glMatrixMode(GL_MODELVIEW);
     
    325317  }
    326318}
     319
    327320
    328321/**
Note: See TracChangeset for help on using the changeset viewer.