Changeset 1663 for GTP/trunk/Lib/Vis/Preprocessing/src/VspTree.cpp
- Timestamp:
- 10/22/06 17:35:23 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/VspTree.cpp
r1662 r1663 28 28 29 29 #define USE_FIXEDPOINT_T 0 30 30 #define CONSIDER_MEMORY 1 31 31 32 32 ///////////// … … 825 825 // otherwise danger of being stuck in a local minimum!! 826 826 const float factor = mRenderCostDecreaseWeight; 827 828 #if CONSIDER_MEMORY 829 const float priority = factor * renderCostDecr - (1.0f - factor) * splitCandidate.GetPvsEntriesIncr(); 830 #else 827 831 const float priority = factor * renderCostDecr + (1.0f - factor) * oldRenderCost; 832 #endif 828 833 #endif 829 834 … … 846 851 // otherwise danger of being stuck in a local minimum!! 847 852 const float factor = mRenderCostDecreaseWeight; 853 #if CONSIDER_MEMORY 854 const float priority = factor * renderCostDecr - (1.0f - factor) * splitCandidate.GetPvsEntriesIncr(); 855 #else 848 856 const float priority = factor * renderCostDecr + (1.0f - factor) * oldRenderCost; 857 #endif 858 849 859 #endif 850 860
Note: See TracChangeset
for help on using the changeset viewer.