Ignore:
Timestamp:
11/13/05 22:38:46 (19 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

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

    r406 r407  
    4848float BspTree::sPvsFactor = 1.0f; 
    4949 
     50bool BspTree::sStoreLeavesWithRays = false; 
    5051int BspNode::mailID = 1; 
    5152 
     
    284285                        ++ contributingSamples; 
    285286                } 
    286                 // warning: intersections not ordered 
    287                 ray->bspIntersections.push_back(Ray::BspIntersection((*it)->mMinT, this)); 
     287                if (BspTree::sStoreLeavesWithRays) 
     288                        // warning: intersections not ordered 
     289                        ray->bspIntersections.push_back(Ray::BspIntersection((*it)->mMinT, this)); 
    288290        } 
    289291} 
Note: See TracChangeset for help on using the changeset viewer.