Ignore:
Timestamp:
01/21/07 00:40:56 (17 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

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

    r2001 r2003  
    748748 
    749749        Vector3 point; 
    750         Vector3 normal, normal2; 
    751          
     750        Vector3 normal; 
     751                 
     752        //Vector normalObj; 
    752753        // float r[1]; 
    753754        // sHalton.GetNext(1, r); 
     
    769770 
    770771        // get point on view cell surface 
    771         mViewCell->GetRandomSurfacePoint(origin, normal2); 
     772        mViewCell->GetRandomSurfacePoint(origin, normal); 
    772773 
    773774        //direction = point - origin; 
     
    775776        // move a little bit back to avoid piercing through walls 
    776777        // that bound the view cell 
    777         origin -= 0.01f * normal2; 
     778        origin -= 0.01f * normal; 
    778779 
    779780        // $$ jb the pdf is yet not correct for all sampling methods! 
Note: See TracChangeset for help on using the changeset viewer.