Ignore:
Timestamp:
05/19/09 19:17:41 (15 years ago)
Author:
mattausch
Message:

reverted but now a good version

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/App/Demos/Vis/FriendlyCulling/src/SampleGenerator.cpp

    r3371 r3372  
    248248        for (int i = 0; i < mNumSamples; ++ i) 
    249249        { 
    250                 x[0] = RandomValue(0, 1); x[1] = RandomValue(0, 1); 
    251                 //mHalton->GetNext(x); 
     250                //x[0] = RandomValue(0, 1); x[1] = RandomValue(0, 1); 
     251                mHalton->GetNext(x); 
    252252                 
    253253                const float a = 2.0f * M_PI * x[0]; 
    254254                const float r = sqrt(x[1]); 
    255                 //const float rad = mRadius * r * r * r * r; 
    256                 const float rad = mRadius * r;// * r; 
     255                 
     256                const float rad = mRadius * r; 
    257257 
    258258                s[i].x = rad * cos(a); 
Note: See TracChangeset for help on using the changeset viewer.