Changeset 1758 for GTP/trunk/Lib/Vis/Preprocessing/src/OspTree.h
- Timestamp:
- 11/15/06 16:07:29 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/OspTree.h
r1695 r1758 280 280 float GetPriority() const 281 281 { 282 HierarchyManager *hm = sOspTree->mHierarchyManager; 283 if (hm->ConsiderMemory()) 284 { 285 const float rc = hm->GetHierarchyStats().mTotalCost - mRenderCostDecrease; 286 const float mc = hm->GetHierarchyStats().mMemory + 287 (float)mPvsEntriesIncr * ObjectPvs::GetEntrySizeByte(); 288 289 return - (rc * mc); 290 } 291 else 292 { 293 return mPriority; 294 } 282 return mPriority; 295 283 } 296 284
Note: See TracChangeset
for help on using the changeset viewer.