Changeset 2771 for GTP/trunk/App/Demos/Vis/CHC_revisited/RenderQueue.cpp
- Timestamp:
- 06/18/08 17:33:16 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/CHC_revisited/RenderQueue.cpp
r2768 r2771 28 28 29 29 30 RenderQueue::RenderQueue(): mState(NULL) 30 RenderQueue::RenderQueue(): mState(NULL), mMinSizeForSorting(5) 31 31 { 32 32 } … … 43 43 for (int i = 0; i < size; ++ i) 44 44 mEntities.push_back(entities[i]); 45 46 45 } 47 46 … … 62 61 void RenderQueue::Render() 63 62 { 64 Sort(); 63 if (mEntities.size() >= mMinSizeForSorting) 64 Sort(); 65 65 66 66 //if (!mEntities.empty()) Debug << "rendering render queue" << endl;
Note: See TracChangeset
for help on using the changeset viewer.