Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4518 in orxonox.OLD


Ignore:
Timestamp:
Jun 6, 2005, 2:11:20 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: smoe small optimizations. now font is in front of particles

Location:
orxonox/trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/lib/graphics/text_engine.cc

    r4517 r4518  
    445445          PRINTF(1)("TTF_OpenFont: %s\n", TTF_GetError());
    446446          return false;
    447       }
    448       return true;
     447        }
     448      else
     449        return true;
    449450    }
    450451  else
  • orxonox/trunk/src/story_entities/world.cc

    r4508 r4518  
    869869  glCallList (objectList);
    870870
     871  particleEngine->draw(); //!< \todo should be dts like in the Trunk;
     872
    871873  TextEngine::getInstance()->draw();
    872   particleEngine->draw(); //!< \todo should be dts like in the Trunk;
    873 
    874874  lightMan->draw(); // must be at the end of the drawing procedure, otherwise Light cannot be handled as PNodes //
    875875}
Note: See TracChangeset for help on using the changeset viewer.