Ignore:
Timestamp:
08/03/05 17:02:22 (19 years ago)
Author:
mattausch
Message:

started with bsp viewcells

Location:
trunk/VUT/GtpVisibilityPreprocessor/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/VUT/GtpVisibilityPreprocessor/src/ViewCellBSP.h

    r190 r194  
    44class ViewCell; 
    55class Plane3; 
     6class Mesh; 
    67 
    78//namespace GtpVisibilityPreprocessor { 
    89   
    9   class BSPInterior; 
     10class BSPInterior; 
    1011 
    11   /** 
    12      BSPNode abstract class serving for interior and leaf node implementation 
    13   */ 
    14   class BSPNode  
    15   { 
    16   public: 
    17     /** Determines whether this node is a leaf or not 
     12/** 
     13        BSPNode abstract class serving for interior and leaf node implementation 
     14*/ 
     15class BSPNode  
     16{ 
     17public: 
     18        /** Determines whether this node is a leaf or not 
    1819        @return true if leaf 
    1920    */ 
     
    2526    virtual bool IsRoot() const; 
    2627 
    27   protected: 
     28        protected: 
     29 
     30                void SplitPoly(Plane3 *plane, Mesh *viewcell); 
     31 
    2832    /// parent of this node 
    2933    BSPInterior *mParent; 
  • trunk/VUT/GtpVisibilityPreprocessor/src/ViewCellBsp.cpp

    r190 r194  
    11#include "Plane3.h" 
    22#include "ViewCellBsp.h" 
     3#include "Mesh.h" 
    34 
    45class ViewCell; 
     
    910{ 
    1011        return mParent == NULL; 
     12} 
     13 
     14void BSPNode::SplitPoly(Plane3 *plane, Mesh *viewcell) 
     15{ 
    1116} 
    1217 
Note: See TracChangeset for help on using the changeset viewer.