Ignore:
Timestamp:
01/01/06 06:25:55 (19 years ago)
Author:
mattausch
Message:

fixed bug in raycasting
added valid view point regions, get view point only from valid regions

File:
1 edited

Legend:

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

    r486 r487  
    7676} 
    7777 
     78 
    7879int BspNode::GetDepth() const 
    7980{ 
     
    8990        return depth; 
    9091} 
     92 
     93 
     94bool BspNode::TreeValid() const 
     95{ 
     96        return mTreeValid; 
     97} 
     98 
     99 
     100void BspNode::SetTreeValid(const bool v) 
     101{ 
     102        mTreeValid = v; 
     103} 
     104 
    91105 
    92106/****************************************************************/ 
     
    186200        return true;  
    187201} 
    188  
    189202 
    190203/****************************************************************/ 
     
    17621775} 
    17631776 
     1777 
    17641778AxisAlignedBox3 BspTree::GetBoundingBox() const 
    17651779{ 
    17661780        return mBox; 
    17671781} 
     1782 
    17681783 
    17691784BspNode *BspTree::GetRoot() const 
Note: See TracChangeset for help on using the changeset viewer.