Changeset 1614 for GTP/trunk/Lib/Vis/Preprocessing/src/BvHierarchy.cpp
- Timestamp:
- 10/12/06 01:05:47 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/BvHierarchy.cpp
r1610 r1614 115 115 } 116 116 117 void BvhLeaf::CollectObjects(ObjectContainer &objects) 118 { 119 ObjectContainer::const_iterator oit, oit_end = objects.end(); 120 for (oit = objects.begin(); oit != oit_end; ++ oit) 121 { 122 objects.push_back(*oit); 123 } 124 } 117 125 118 126 /******************************************************************/ … … 161 169 } 162 170 171 172 void BvhInterior::CollectObjects(ObjectContainer &objects) 173 { 174 mFront->CollectObjects(objects); 175 mBack->CollectObjects(objects); 176 } 163 177 164 178
Note: See TracChangeset
for help on using the changeset viewer.