Ignore:
Timestamp:
08/30/06 04:39:53 (18 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

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

    r1280 r1297  
    103103        mPreprocessor.mViewCellsManager->GetViewPoint(origin); 
    104104 
    105         const float alpha = RandomValue(0.0f, 2.0f * M_PI); 
    106         const float beta = RandomValue(-M_PI * 0.5f, M_PI * 0.5f); 
     105        const float alpha = RandomValue(0.0f, 2.0f * (float)M_PI); 
     106        const float beta = RandomValue((float)-M_PI * 0.5f, (float)M_PI * 0.5f); 
    107107         
    108108        direction = VssRay::GetDirection(alpha, beta); 
Note: See TracChangeset for help on using the changeset viewer.