Changeset 400 for trunk/VUT/GtpVisibilityPreprocessor/src/ViewCellBsp.h
- Timestamp:
- 11/10/05 02:28:42 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibilityPreprocessor/src/ViewCellBsp.h
r399 r400 345 345 /// area of current node 346 346 float mArea; 347 BspNodeGeometry *m Cell;347 BspNodeGeometry *mGeometry; 348 348 349 349 /// pvs size … … 358 358 mPvs(0), 359 359 mArea(0.0), 360 m Cell(NULL)360 mGeometry(NULL) 361 361 {} 362 362 … … 376 376 mPvs(pvs), 377 377 mArea(area), 378 m Cell(cell)378 mGeometry(cell) 379 379 {} 380 380 }; … … 541 541 */ 542 542 Plane3 SelectPlane(BspLeaf *leaf, 543 BspTraversalData &data, 544 BspTraversalData &frontData, 545 BspTraversalData &backData); 543 BspTraversalData &data); 546 544 547 545 /** Evaluates the contribution of the candidate split plane. … … 554 552 */ 555 553 float SplitPlaneCost(const Plane3 &candidatePlane, 556 BspTraversalData &data, 557 BspTraversalData &frontData, 558 BspTraversalData &backData) const; 554 BspTraversalData &data) const; 559 555 560 556 /** Strategies where the effect of the split plane is tested … … 574 570 const int pvs, 575 571 const float area, 576 const BspNodeGeometry &cell, 577 BspTraversalData &frontData, 578 BspTraversalData &backData) const; 572 const BspNodeGeometry &cell) const; 579 573 580 574 /** Filters next view cell down the tree and inserts it into the appropriate leaves … … 624 618 */ 625 619 Plane3 SelectPlaneHeuristics(BspLeaf *leaf, 626 BspTraversalData &data, 627 BspTraversalData &frontData, 628 BspTraversalData &backData); 620 BspTraversalData &data); 629 621 630 622 /** Extracts the meshes of the objects and adds them to polygons.
Note: See TracChangeset
for help on using the changeset viewer.