Changeset 6780 in orxonox.OLD for trunk/src/story_entities
- Timestamp:
- Jan 26, 2006, 6:47:32 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/story_entities/game_world.cc
r6710 r6780 393 393 // clear buffer 394 394 glClear( GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT); 395 // set camera396 this->dataTank->localCamera->apply ();397 395 // draw world 398 396 this->draw(); … … 409 407 GraphicsEngine* engine = GraphicsEngine::getInstance(); 410 408 411 /* to draw the bounding boxes of the objects at level 2 for debug purp */ 412 413 /* debug draw the PNodes */ 409 // set camera 410 this->dataTank->localCamera->apply (); 414 411 415 412 /* draw all WorldEntiy groups */ … … 422 419 engine->draw(State::getObjectManager()->getObjectList(OM_GROUP_01_PROJ)); 423 420 421 424 422 if( unlikely( this->showBV)) 425 423 { … … 436 434 PNode::getNullParent()->debugDraw(0); 437 435 436 engine->draw(); 437 438 438 /* final draw command */ 439 engine->draw();440 439 } 441 440
Note: See TracChangeset
for help on using the changeset viewer.