home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 February / Chip_2001-02_cd1.bin / bonus / demos / CS / exp / SOURCES / GLENGINE / hierarchy.cpp < prev    next >
C/C++ Source or Header  |  2000-07-29  |  220b  |  10 lines

  1. #include "hierarchy.h"
  2.  
  3. void RenderableEntities::Render (double time = 0.0) {
  4.   __entity_list.rewind();
  5.   for(int i=__entity_list.size(); i; i--) {
  6.     (*__entity_list)->Render(time);
  7.     ++__entity_list;
  8.   }
  9. }
  10.