Changeset 2347 for GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsManager.cpp
- Timestamp:
- 05/03/07 18:46:37 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellsManager.cpp
r2342 r2347 1708 1708 1709 1709 1710 1711 1710 float ViewCellsManager::ComputeRenderCost(const int tri, const int obj) //const 1712 1711 { 1712 return (float)tri; 1713 1713 return max((float)tri * mTriangleWeight, (float)obj * mObjectWeight); 1714 1714 } … … 2087 2087 sum += ComputeSampleContribution(*(*it), addContributions, storeViewCells, useHitObjects); 2088 2088 } 2089 2090 2089 } 2091 2090
Note: See TracChangeset
for help on using the changeset viewer.