Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6316 in orxonox.OLD for trunk/src/story_entities


Ignore:
Timestamp:
Dec 27, 2005, 1:27:56 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: now painting the BV's again…. no error due to my change in the static model…. puh :)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/story_entities/world.cc

    r6307 r6316  
    640640  engine->draw(State::getObjectManager()->getObjectList(OM_GROUP_01_PROJ));
    641641
     642   if( unlikely( this->showBV))  // to draw the bounding boxes of the objects at level 2 for debug purp
     643   {
     644     CDEngine* engine = CDEngine::getInstance();
     645     engine->drawBV(State::getObjectManager()->getObjectList(OM_ENVIRON_NOTICK));
     646     engine->drawBV(State::getObjectManager()->getObjectList(OM_ENVIRON));
     647     engine->drawBV(State::getObjectManager()->getObjectList(OM_COMMON));
     648     engine->drawBV(State::getObjectManager()->getObjectList(OM_GROUP_00));
     649     engine->drawBV(State::getObjectManager()->getObjectList(OM_GROUP_01));
     650     engine->drawBV(State::getObjectManager()->getObjectList(OM_GROUP_01_PROJ));
     651   }
     652
    642653//   {
    643654//     if( entity->isVisible() ) entity->draw();
    644655  //FIXME
    645 //     if( unlikely( this->showBV)) entity->drawBVTree(3, 226);  // to draw the bounding boxes of the objects at level 2 for debug purp
    646656//     entity = iterator->nextElement();
    647657//   }
Note: See TracChangeset for help on using the changeset viewer.