Changeset 1901 for GTP/trunk/Lib/Vis/Preprocessing/src/SamplingStrategy.cpp
- Timestamp:
- 12/15/06 23:42:04 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/SamplingStrategy.cpp
r1900 r1901 9 9 namespace GtpVisibilityPreprocessor { 10 10 11 12 //HaltonSequence SamplingStrategy::sHalton; 11 13 12 14 HaltonSequence ObjectBasedDistribution::sHalton; … … 124 126 sHalton.GetNext(4, r); 125 127 126 r[0] *= mPreprocessor.mObjects.size()-1;128 r[0] *= (float)mPreprocessor.mObjects.size() - 1; 127 129 const int i = (int)r[0]; 128 130
Note: See TracChangeset
for help on using the changeset viewer.