Changeset 7370 in orxonox.OLD for trunk/src/lib/graphics
- Timestamp:
- Apr 26, 2006, 1:31:01 AM (19 years ago)
- Location:
- trunk/src/lib/graphics
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/graphics_engine.cc
r7319 r7370 584 584 dynamic_cast<GraphicsEffect*>(*it)->draw(); 585 585 } 586 }587 588 void GraphicsEngine::draw(const std::list<WorldEntity*>& drawList ) const589 {590 std::list<WorldEntity*>::const_iterator entity;591 for (entity = drawList.begin(); entity != drawList.end(); entity++)592 if ((*entity)->isVisible())593 (*entity)->draw();594 586 } 595 587 -
trunk/src/lib/graphics/graphics_engine.h
r7256 r7370 69 69 void tick(float dt); 70 70 void draw() const; 71 void draw(const std::list<WorldEntity*>& drawList) const;72 71 void displayFPS(bool display); 73 72
Note: See TracChangeset
for help on using the changeset viewer.