Changeset 1297 for GTP/trunk/Lib/Vis/Preprocessing/src/SamplingStrategy.cpp
- Timestamp:
- 08/30/06 04:39:53 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/SamplingStrategy.cpp
r1280 r1297 103 103 mPreprocessor.mViewCellsManager->GetViewPoint(origin); 104 104 105 const float alpha = RandomValue(0.0f, 2.0f * M_PI);106 const float beta = RandomValue( -M_PI * 0.5f,M_PI * 0.5f);105 const float alpha = RandomValue(0.0f, 2.0f * (float)M_PI); 106 const float beta = RandomValue((float)-M_PI * 0.5f, (float)M_PI * 0.5f); 107 107 108 108 direction = VssRay::GetDirection(alpha, beta);
Note: See TracChangeset
for help on using the changeset viewer.