Ignore:
Timestamp:
09/15/05 08:51:57 (19 years ago)
Author:
mattausch
Message:
 
Location:
trunk/VUT/GtpVisibilityPreprocessor/src
Files:
3 edited

Legend:

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

    r268 r270  
    6262      (*t) = u; 
    6363     
    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); 
     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); 
    6666  } 
    6767   
  • trunk/VUT/GtpVisibilityPreprocessor/src/Polygon3.h

    r263 r270  
    88#include "Containers.h" 
    99#include "Mesh.h" 
     10#include <iomanip> 
    1011 
    1112class Polygon3; 
     
    7576        VertexContainer::const_iterator it; 
    7677 
    77         s << "Polygon:\n"; 
     78        s << setprecision(6) << "Polygon:\n"; 
    7879         
    7980        for (it = A.mVertices.begin(); it != A.mVertices.end(); ++it) 
  • trunk/VUT/GtpVisibilityPreprocessor/src/ViewCellBsp.cpp

    r268 r270  
    396396                 
    397397                                // 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 
    399404                                //Debug << "split node on level " << tData.mDepth << " bk: " << backPolys->size() << " frnt: " << frontPolys->size() << endl; 
    400405                                mStat.splits += splits; 
     
    456461   
    457462        for (int i = 0; i < limit; ++i) 
    458         { 
     463        {if((i == 12) || (i == 14)) 
    459464                if (viewCells[i]->GetMesh()) // copy the mesh data to polygons 
    460465                { 
Note: See TracChangeset for help on using the changeset viewer.