Changeset 1899 for GTP/trunk/Lib/Vis/Preprocessing/src/SamplingStrategy.cpp
- Timestamp:
- 12/15/06 18:01:34 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/SamplingStrategy.cpp
r1898 r1899 9 9 namespace GtpVisibilityPreprocessor { 10 10 11 HaltonSequence SamplingStrategy::sHalton; 11 12 HaltonSequence ObjectBasedDistribution::sHalton; 13 HaltonSequence MixtureDistribution::sHalton; 14 HaltonSequence GlobalLinesDistribution::sHalton; 15 HaltonSequence SpatialBoxBasedDistribution::sHalton; 16 HaltonSequence ObjectDirectionBasedDistribution::sHalton; 17 12 18 13 19 SamplingStrategy::SamplingStrategy(Preprocessor &preprocessor): … … 132 138 direction = Normalize(CosineRandomVector(r[2], r[3], normal)); 133 139 134 origin += 1e-2 *direction;140 origin += 1e-2f*direction; 135 141 136 142 // $$ jb the pdf is yet not correct for all sampling methods!
Note: See TracChangeset
for help on using the changeset viewer.