Changeset 1280 for GTP/trunk/Lib/Vis
- Timestamp:
- 08/24/06 18:20:21 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/SamplingStrategy.cpp
r1278 r1280 24 24 Vector3 normal; 25 25 26 const int i = RandomValue(0, float((int)mPreprocessor.mObjects.size() - 1));26 const int i = (int)RandomValue(0, float((int)mPreprocessor.mObjects.size() - 1)); 27 27 28 28 Intersectable *object = mPreprocessor.mObjects[i];
Note: See TracChangeset
for help on using the changeset viewer.