Ignore:
Timestamp:
04/27/06 11:57:28 (18 years ago)
Author:
mattausch
Message:

implementing bounding box hack

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellBsp.cpp

    r744 r840  
    30753075} 
    30763076 
    3077  
    3078 void BspNodeGeometry::AddToMesh(Mesh &mesh) 
    3079 { 
    3080         PolygonContainer::const_iterator it, it_end = mPolys.end(); 
    3081          
    3082         for (it = mPolys.begin(); it != mPolys.end(); ++ it) 
    3083         { 
    3084                 (*it)->AddToMesh(mesh); 
     3077void IncludeNodeGeomInMesh(const BspNodeGeometry &geom, Mesh &mesh) 
     3078{ 
     3079        // add single polygons to mesh 
     3080        PolygonContainer::const_iterator it, it_end = geom.mPolys.end(); 
     3081         
     3082        for (it = geom.mPolys.begin(); it != geom.mPolys.end(); ++ it) 
     3083        { 
     3084                Polygon3 *poly = (*it); 
     3085                IncludePolyInMesh(*poly, mesh); 
    30853086        } 
    30863087} 
Note: See TracChangeset for help on using the changeset viewer.