Ignore:
Timestamp:
08/11/06 17:39:54 (18 years ago)
Author:
mattausch
Message:

added loader for osp trees

File:
1 edited

Legend:

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

    r1166 r1201  
    2424        Vector3 normal; 
    2525           
    26         const int i = RandomValue(0, (int)mPreprocessor.mObjects.size() - 1); 
     26        const int i = RandomValue(0, float((int)mPreprocessor.mObjects.size() - 1)); 
    2727 
    2828        Intersectable *object = mPreprocessor.mObjects[i]; 
Note: See TracChangeset for help on using the changeset viewer.