Changeset 1576 for GTP/trunk/Lib/Vis/Preprocessing/src/SamplingStrategy.cpp
- Timestamp:
- 10/05/06 18:51:15 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/SamplingStrategy.cpp
r1520 r1576 62 62 { 63 63 Vector3 origin, direction; 64 65 64 const int i = (int)RandomValue(0, (Real)((int)mPreprocessor.mObjects.size() - 1)); 66 67 65 Intersectable *object = mPreprocessor.mObjects[i]; 68 66 … … 95 93 96 94 direction = UniformRandomVector(); 97 98 95 const float c = Magnitude(direction); 99 96
Note: See TracChangeset
for help on using the changeset viewer.