Changeset 6416 in orxonox.OLD for branches/network
- Timestamp:
- Jan 6, 2006, 3:28:51 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/story_entities/game_world.cc
r6412 r6416 397 397 398 398 /* to draw the bounding boxes of the objects at level 2 for debug purp */ 399 if( unlikely( this->showBV)) 400 { 401 CDEngine* engine = CDEngine::getInstance(); 402 engine->drawBV(State::getObjectManager()->getObjectList(OM_ENVIRON_NOTICK)); 403 engine->drawBV(State::getObjectManager()->getObjectList(OM_ENVIRON)); 404 engine->drawBV(State::getObjectManager()->getObjectList(OM_COMMON)); 405 engine->drawBV(State::getObjectManager()->getObjectList(OM_GROUP_00)); 406 engine->drawBV(State::getObjectManager()->getObjectList(OM_GROUP_01)); 407 engine->drawBV(State::getObjectManager()->getObjectList(OM_GROUP_01_PROJ)); 408 } 399 409 400 /* debug draw the PNodes */ 410 if( unlikely(this->showPNodes))411 PNode::getNullParent()->debugDraw(0);412 401 413 402 /* draw all WorldEntiy groups */ … … 421 410 ParticleEngine::getInstance()->draw(); 422 411 412 if( unlikely( this->showBV)) 413 { 414 CDEngine* engine = CDEngine::getInstance(); 415 engine->drawBV(State::getObjectManager()->getObjectList(OM_ENVIRON_NOTICK)); 416 engine->drawBV(State::getObjectManager()->getObjectList(OM_ENVIRON)); 417 engine->drawBV(State::getObjectManager()->getObjectList(OM_COMMON)); 418 engine->drawBV(State::getObjectManager()->getObjectList(OM_GROUP_00)); 419 engine->drawBV(State::getObjectManager()->getObjectList(OM_GROUP_01)); 420 engine->drawBV(State::getObjectManager()->getObjectList(OM_GROUP_01_PROJ)); 421 } 422 423 if( unlikely(this->showPNodes)) 424 PNode::getNullParent()->debugDraw(0); 425 423 426 /* final draw command */ 424 427 engine->draw();
Note: See TracChangeset
for help on using the changeset viewer.