Ignore:
Timestamp:
09/04/06 08:56:26 (18 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/src/OgreKdTree.cpp

    r1312 r1320  
    2525{ 
    2626 
    27 enum Intersection 
     27enum BvhIntersection 
    2828{ 
    2929        OUTSIDE=0, 
     
    3232}; 
    3333 
    34 Intersection intersect( const Ray &one, const AxisAlignedBox &two ) 
     34static BvhIntersection intersect( const Ray &one, const AxisAlignedBox &two ) 
    3535{ 
    3636        // Null box? 
     
    9999/** Checks how the second box intersects with the first. 
    100100*/ 
    101 Intersection intersect( const PlaneBoundedVolume &one, const AxisAlignedBox &two ) 
     101static BvhIntersection intersect( const PlaneBoundedVolume &one, const AxisAlignedBox &two ) 
    102102{ 
    103103        // Null box? 
     
    146146/** Checks how the second box intersects with the first. 
    147147*/ 
    148 Intersection intersect( const AxisAlignedBox &one, const AxisAlignedBox &two ) 
     148static BvhIntersection intersect( const AxisAlignedBox &one, const AxisAlignedBox &two ) 
    149149{ 
    150150        // Null box? 
     
    180180/** Checks how the box intersects with the sphere. 
    181181*/ 
    182 Intersection intersect( const Sphere &one, const AxisAlignedBox &two ) 
     182static BvhIntersection intersect( const Sphere &one, const AxisAlignedBox &two ) 
    183183{ 
    184184        // Null box? 
     
    15121512        if ( !full ) 
    15131513        { 
    1514                 Intersection isect = intersect(box, node->_getWorldAABB()); 
     1514                BvhIntersection isect = intersect(box, node->_getWorldAABB()); 
    15151515 
    15161516                if ( isect == OUTSIDE ) 
     
    15361536                                else 
    15371537                                { 
    1538                                         Intersection nsect = intersect(box, sn->_getWorldAABB()); 
     1538                                        BvhIntersection nsect = intersect(box, sn->_getWorldAABB()); 
    15391539 
    15401540                                        if ( nsect != OUTSIDE ) 
Note: See TracChangeset for help on using the changeset viewer.