Changeset 1171 for GTP/trunk


Ignore:
Timestamp:
07/31/06 08:52:39 (18 years ago)
Author:
mattausch
Message:
 
Location:
GTP/trunk/Lib/Vis
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/QtRenderer/QtGlRenderer.cpp

    r1166 r1171  
    15111511  { 
    15121512        ViewCell *vc = viewcells[i]; 
    1513         const int p = vc->GetPvs().CountPvs(); 
     1513        const int p = vc->GetPvs().CountObjectsInPvs(); 
    15141514        if (p > maxPvs) 
    15151515          maxPvs = p; 
     
    15271527          c = vc->GetColor(); 
    15281528        else { 
    1529           const float importance = (float)vc->GetPvs().CountPvs() / (float)maxPvs; 
     1529          const float importance = (float)vc->GetPvs().CountObjectsInPvs() / (float)maxPvs; 
    15301530          c = RgbColor(importance, 1.0f - importance, 0.0f); 
    15311531        } 
Note: See TracChangeset for help on using the changeset viewer.