Changeset 2848 for GTP/trunk/App/Demos/Vis/FriendlyCulling/src/Bvh.cpp
- Timestamp:
- 07/21/08 03:12:51 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/Bvh.cpp
r2842 r2848 144 144 mGeometry = new SceneEntity*[mGeometrySize]; 145 145 146 mBox.Initialize();147 148 146 SceneEntityContainer::const_iterator it, it_end = entities.end(); 149 147 … … 152 150 { 153 151 mGeometry[i] = (*it); 154 //mBox.Include((*it)->GetBoundingBox()); 155 } 156 157 cout << "scene box: " << mBox << endl; 152 } 158 153 } 159 154 … … 799 794 for (int i = node->mFirst; i <= node->mLast; ++ i) 800 795 { 801 numTriangles += mGeometry[i]->CountNumTriangles( );796 numTriangles += mGeometry[i]->CountNumTriangles(0); 802 797 } 803 798
Note: See TracChangeset
for help on using the changeset viewer.