Changeset 1790 for GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellBsp.cpp
- Timestamp:
- 11/25/06 04:07:13 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellBsp.cpp
r1789 r1790 2694 2694 for (it = rays.begin(); it != it_end; ++ it) 2695 2695 { 2696 int contribution = 0;2696 float contribution = 0; 2697 2697 Ray *ray = (*it)->mRay; 2698 2698 float relContribution; … … 2707 2707 //relContribution); 2708 2708 2709 if (contribution )2710 { 2711 sampleContributions += contribution;2709 if (contribution > 0) 2710 { 2711 sampleContributions += (int)contribution; 2712 2712 ++ contributingSamples; 2713 2713 }
Note: See TracChangeset
for help on using the changeset viewer.