Ignore:
Timestamp:
08/22/06 22:48:02 (18 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

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

    r1251 r1259  
    15901590 
    15911591 
    1592  
    1593 } 
     1592bool BvHierarchy::AddLeafToPvs(BvhLeaf *leaf,  
     1593                                                           ViewCell *vc,  
     1594                                                           const float pdf,  
     1595                                                           float &contribution) 
     1596{ 
     1597        // add kd intersecable to pvs 
     1598        BvhIntersectable *bvhObj = GetOrCreateBvhIntersectable(leaf); 
     1599         
     1600        return vc->AddPvsSample(bvhObj, pdf, contribution); 
     1601} 
     1602 
     1603 
     1604} 
Note: See TracChangeset for help on using the changeset viewer.