Changeset 1141 for GTP/trunk/Lib/Vis/Preprocessing/src/VrmlExporter.cpp
- Timestamp:
- 07/18/06 19:03:14 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/VrmlExporter.cpp
r1139 r1141 261 261 262 262 mForcedMaterial.mDiffuseColor.b = 1.0f; 263 const float importance = (float)leaf->GetViewCell()->GetPvs(). GetSize() / (float)maxPvs;263 const float importance = (float)leaf->GetViewCell()->GetPvs().CountPvs() / (float)maxPvs; 264 264 265 265 mForcedMaterial.mDiffuseColor.r = importance;
Note: See TracChangeset
for help on using the changeset viewer.