Changeset 2775 for GTP/trunk/App/Demos/Vis/CHC_revisited/Bvh.cpp
- Timestamp:
- 06/19/08 01:49:49 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/CHC_revisited/Bvh.cpp
r2774 r2775 701 701 702 702 703 int Bvh::CountTriangles(BvhLeaf *leaf) const704 {705 int triangleCount = 0;706 707 for (int i = leaf->mFirst; i <= leaf->mLast; ++ i)708 triangleCount += mGeometry[i]->GetGeometry()->GetNumTriangles();709 710 return triangleCount;711 }712 713 714 703 void Bvh::ComputeBvhStats() 715 704 {
Note: See TracChangeset
for help on using the changeset viewer.