Changeset 2228 for GTP/trunk/Lib/Vis/Preprocessing/src/BvHierarchy.cpp
- Timestamp:
- 03/11/07 16:14:59 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/BvHierarchy.cpp
r2227 r2228 1118 1118 ar = rbox.SurfaceArea(); 1119 1119 1120 // should use classical approach here ... 1120 1121 #if BOUND_RENDERCOST 1121 1122 const float sum = noValidSplit ? 1e25f : objectsLeft * al + objectsRight * ar; … … 1890 1891 //-- surface area heuristics 1891 1892 1892 if (leaf->mObjects.empty())1893 return 0.0f;1893 // eraly exit 1894 //if (leaf->mObjects.empty()) return 0.0f; 1894 1895 1895 1896 const AxisAlignedBox3 box = GetBoundingBox(leaf);
Note: See TracChangeset
for help on using the changeset viewer.