Changeset 202 for trunk/VUT/GtpVisibilityPreprocessor/src
- Timestamp:
- 08/07/05 16:51:06 (20 years ago)
- Location:
- trunk/VUT/GtpVisibilityPreprocessor/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibilityPreprocessor/src/ViewCellBSP.h
r197 r202 38 38 { 39 39 public: 40 BSPInterior(Plane3 *plane): mPlane(plane) {}40 BSPInterior(Plane3 plane): mPlane(plane) {} 41 41 /** @return false since it is an interior node */ 42 42 bool IsLeaf() const; -
trunk/VUT/GtpVisibilityPreprocessor/src/ViewCellBsp.cpp
r197 r202 5 5 #include "ViewCell.h" 6 6 #include <stack> 7 7 8 //namespace GtpVisibilityPreprocessor { 8 9 /****************************************************************/ … … 84 85 BSPNode *node = SubdivideNode(dynamic_cast<BSPLeaf *>(data.mNode), 85 86 data.mParent, 86 data.mParent,87 87 &data.mViewCell, 88 data.mDepth, 88 89 backPolys, 89 90 frontPolys); … … 118 119 // add the new nodes to the tree + select subdivision plane 119 120 Plane3 *plane = SelectPlane(viewCell); 120 BSPInterior *node = new BSPInterior( &plane); // ERROR!!121 BSPInterior *node = new BSPInterior(*plane); // ERROR!! 121 122 122 123
Note: See TracChangeset
for help on using the changeset viewer.