Ignore:
Timestamp:
08/23/06 19:19:26 (18 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

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

    r1201 r1264  
    5151        Vector3 origin, direction;  
    5252 
    53     const int i = (int)RandomValue(0, (int)mPreprocessor.mObjects.size() - 1); 
     53    const int i = (int)RandomValue(0, (Real)((int)mPreprocessor.mObjects.size() - 1)); 
    5454 
    5555        Intersectable *object = mPreprocessor.mObjects[i]; 
Note: See TracChangeset for help on using the changeset viewer.