- Timestamp:
- 09/19/05 09:01:31 (19 years ago)
- Location:
- trunk/VUT/GtpVisibilityPreprocessor/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibilityPreprocessor/src/Polygon3.cpp
r290 r291 24 24 mVertices.push_back(parentMesh->mVertices[*it]); 25 25 mMaterial = parentMesh->mMaterial; 26 27 //Debug << parentMesh->mVertices[*it] << endl;28 26 } 29 27 } … … 150 148 // Decide if plane and surface normal are same 151 149 if (DotProd(plane.mNormal, GetSupportingPlane().mNormal) > 0) 152 return COINCIDENT; 150 return COINCIDENT; // plane and polygon are coincident 153 151 else 154 152 return FRONT_SIDE; … … 165 163 } 166 164 167 // plane and polygon are coincident 168 return COINCIDENT; 165 // Decide if plane and surface normal are same 166 if (DotProd(plane.mNormal, GetSupportingPlane().mNormal) > 0) 167 return COINCIDENT; // plane and polygon are coincident 168 else 169 return FRONT_SIDE; 169 170 } 170 171 -
trunk/VUT/GtpVisibilityPreprocessor/src/ViewCellBsp.cpp
r290 r291 630 630 { 631 631 Debug << "WARNING: size " << coincident.size() << " at depth " << tData.mDepth << ", #back polys: " << (int)backPolys->size() << ", #front polys: " << (int)frontPolys->size() << endl; 632 for (int i=0; i<coincident.size(); ++i)633 Debug << "coincident " << i << " vc " << coincident[i]->mParent << endl;632 for (int i=0; i<coincident.size(); ++i) 633 Debug << "coincident " << i << " vc " << *coincident[i]->mParent << endl; 634 634 } 635 635 //Debug << "coincident size: " << coincident.size() << endl;
Note: See TracChangeset
for help on using the changeset viewer.