Ignore:
Timestamp:
10/05/05 14:14:35 (19 years ago)
Author:
mattausch
Message:

removed bug when encountering bsp leaf
added flag for view cell type

File:
1 edited

Legend:

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

    r308 r309  
    12491249                        } 
    12501250 
    1251                         //-- split 
    1252  
    12531251                        // push data for far child 
    12541252                        tStack.push(BspRayTraversalData(farChild, extp, maxt)); 
     
    12701268                        } 
    12711269 
    1272                         if (hits && ray.GetType() == Ray::LOCAL_RAY) 
    1273                                 if (ray.intersections[0].mT <= maxt) 
    1274                                         break; 
    1275        
    1276                         // get the next node from the stack 
     1270                        // get the next node from the stack 
    12771271                        if (tStack.empty()) 
    12781272                                break; 
Note: See TracChangeset for help on using the changeset viewer.