Ignore:
Timestamp:
03/23/07 01:40:24 (18 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/VssPreprocessor.cpp

    r2199 r2283  
    283283                Intersectable *sourceObj = mObjects[5]; 
    284284 
    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)); 
    286286                VssTreeLeaf *leaf = leaves[index]; 
    287287 
Note: See TracChangeset for help on using the changeset viewer.