- Timestamp:
- 09/15/05 08:51:57 (19 years ago)
- Location:
- trunk/VUT/GtpVisibilityPreprocessor/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibilityPreprocessor/src/Plane3.h
r268 r270 62 62 (*t) = u; 63 63 64 return a - Distance(a) * b / dv + Distance(a) * a / dv; // NOTE: gives better precision than calclulating a + u * v65 //return a + (u * v);64 //return a - Distance(a) * b / dv + Distance(a) * a / dv; // NOTE: gives better precision than calclulating a + u * v 65 return a + (u * v); 66 66 } 67 67 -
trunk/VUT/GtpVisibilityPreprocessor/src/Polygon3.h
r263 r270 8 8 #include "Containers.h" 9 9 #include "Mesh.h" 10 #include <iomanip> 10 11 11 12 class Polygon3; … … 75 76 VertexContainer::const_iterator it; 76 77 77 s << "Polygon:\n";78 s << setprecision(6) << "Polygon:\n"; 78 79 79 80 for (it = A.mVertices.begin(); it != A.mVertices.end(); ++it) -
trunk/VUT/GtpVisibilityPreprocessor/src/ViewCellBsp.cpp
r268 r270 396 396 397 397 // split viecell polygons with respect to split plane 398 bool inside = interior->SplitPolygons(tData.mPolygons, frontPolys, backPolys, splits, mStorePolys); 398 bool inside = interior->SplitPolygons(tData.mPolygons, 399 frontPolys, 400 backPolys, 401 splits, 402 mStorePolys); 403 399 404 //Debug << "split node on level " << tData.mDepth << " bk: " << backPolys->size() << " frnt: " << frontPolys->size() << endl; 400 405 mStat.splits += splits; … … 456 461 457 462 for (int i = 0; i < limit; ++i) 458 { 463 {if((i == 12) || (i == 14)) 459 464 if (viewCells[i]->GetMesh()) // copy the mesh data to polygons 460 465 {
Note: See TracChangeset
for help on using the changeset viewer.