Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6780 in orxonox.OLD for trunk/src/story_entities/game_world.cc


Ignore:
Timestamp:
Jan 26, 2006, 6:47:32 PM (18 years ago)
Author:
bensch
Message:

trunk: war of the popers

File:
1 edited

Legend:

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

    r6710 r6780  
    393393  // clear buffer
    394394  glClear( GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT);
    395   // set camera
    396   this->dataTank->localCamera->apply ();
    397395  // draw world
    398396  this->draw();
     
    409407  GraphicsEngine* engine = GraphicsEngine::getInstance();
    410408
    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 ();
    414411
    415412  /* draw all WorldEntiy groups */
     
    422419  engine->draw(State::getObjectManager()->getObjectList(OM_GROUP_01_PROJ));
    423420
     421
    424422  if( unlikely( this->showBV))
    425423  {
     
    436434    PNode::getNullParent()->debugDraw(0);
    437435
     436  engine->draw();
     437
    438438  /* final draw command */
    439   engine->draw();
    440439}
    441440
Note: See TracChangeset for help on using the changeset viewer.