Changeset 2283 for GTP/trunk/Lib/Vis/Preprocessing/src/VssPreprocessor.cpp
- Timestamp:
- 03/23/07 01:40:24 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/VssPreprocessor.cpp
r2199 r2283 283 283 Intersectable *sourceObj = mObjects[5]; 284 284 285 const int index = (int)RandomValue(0, (Real)(( int)leaves.size() - 1));285 const int index = (int)RandomValue(0, (Real)((float)leaves.size() - 0.5f)); 286 286 VssTreeLeaf *leaf = leaves[index]; 287 287
Note: See TracChangeset
for help on using the changeset viewer.