Ignore:
Timestamp:
12/21/05 20:21:30 (19 years ago)
Author:
mattausch
Message:

bsp merging possible again

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/VUT/GtpVisibilityPreprocessor/src/ViewCellBsp.h

    r473 r475  
    851851}; 
    852852 
    853 struct BspIntersection { 
    854   // the point of intersection 
    855   float mT; 
     853struct BspIntersection  
     854{ 
     855        // the point of intersection 
     856        float mT; 
    856857   
    857   BspLeaf *mLeaf; 
     858        BspLeaf *mLeaf; 
    858859   
    859   BspIntersection(const float t, BspLeaf *l): 
     860        BspIntersection(const float t, BspLeaf *l): 
    860861        mT(t), mLeaf(l) {} 
    861862   
    862   BspIntersection() {} 
     863        BspIntersection() {} 
    863864   
    864   bool operator<(const BspIntersection &b) const { 
    865         return mT       <b.mT; } 
     865        bool operator<(const BspIntersection &b) const  
     866        { 
     867                return mT < b.mT;  
     868        } 
     869}; 
     870 
     871struct BspRay  
     872{ 
     873        VssRay *vssRay; 
     874 
     875        std::vector<BspIntersection> intersections; 
     876 
     877        BspRay(VssRay *ray): vssRay(ray) {} 
    866878}; 
    867879 
Note: See TracChangeset for help on using the changeset viewer.