Ignore:
Timestamp:
12/01/05 18:50:06 (19 years ago)
Author:
mattausch
Message:

added visibilitymanager
removed area computation from bsp

File:
1 edited

Legend:

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

    r440 r441  
    349349                /// rays piercing this node 
    350350                RayInfoContainer *mRays; 
    351                 /// area of current node 
    352                 float mArea; 
    353                 /// geometry of current node induced by split planes 
    354                 VspBspNodeGeometry *mGeometry; 
    355351 
    356352                /// pvs size 
     
    371367                mViewCell(NULL), 
    372368                mRays(NULL), 
    373                 mPvs(0), 
    374                 mArea(0.0), 
    375                 mGeometry(NULL) 
     369                mPvs(0) 
    376370                {} 
    377371                 
     
    381375                                                 ViewCell *viewCell, 
    382376                                                 RayInfoContainer *rays, 
    383                                                  int pvs, 
    384                                                  float area, 
    385                                                  VspBspNodeGeometry *cell):  
     377                                                 int pvs):  
    386378                mNode(node),  
    387379                mPolygons(polys),  
     
    389381                mViewCell(viewCell), 
    390382                mRays(rays), 
    391                 mPvs(pvs), 
    392                 mArea(area), 
    393                 mGeometry(cell) 
     383                mPvs(pvs) 
    394384                {} 
    395385    }; 
     
    762752 
    763753        /// if area or accumulated ray lenght should be used for PVS heuristics 
    764         bool mPvsUseArea; 
     754        bool mPvsUseLen; 
    765755 
    766756private: 
Note: See TracChangeset for help on using the changeset viewer.