Ignore:
Timestamp:
11/15/06 16:07:29 (18 years ago)
Author:
mattausch
Message:

bvhnode is now derived from Intersectable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/IntersectableWrapper.h

    r1737 r1758  
    169169typedef map<KdNode *, KdIntersectable *> KdIntersectableMap; 
    170170 
    171 class BvhIntersectable: public IntersectableWrapper<BvhLeaf *> 
    172 { 
    173 public: 
    174         BvhIntersectable(BvhLeaf *item): 
    175         IntersectableWrapper<BvhLeaf *>(item) {} 
    176  
    177         int Type() const 
    178         { 
    179                 return Intersectable::BVH_INTERSECTABLE; 
    180         } 
    181  
    182         AxisAlignedBox3 GetBox() const; 
    183  
    184 }; 
    185  
    186171 
    187172class TriangleIntersectable: public IntersectableWrapper<Triangle3> 
Note: See TracChangeset for help on using the changeset viewer.