Ignore:
Timestamp:
03/09/06 04:27:07 (18 years ago)
Author:
mattausch
Message:

fixed a bsp node geometry problem (debug code)

File:
1 edited

Legend:

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

    r648 r683  
    167167                 
    168168                if (side > 0) 
     169                { 
    169170                        onFrontSide = true; 
     171                } 
    170172                else if (side < 0) 
     173                { 
    171174                        onBackSide = true; 
    172                  
     175                } 
     176 
    173177                //TODO: check if split goes through vertex 
    174178                if (onFrontSide && onBackSide) // split  
     
    413417                                                        const float epsilon) 
    414418{ 
    415         PolygonContainer::const_iterator it; 
    416  
    417419        bool onFrontSide = false; 
    418420        bool onBackSide = false; 
    419          
     421        PolygonContainer::const_iterator it; 
     422 
    420423        // find intersections 
    421424        for (it = polys.begin(); it != polys.end(); ++ it) 
Note: See TracChangeset for help on using the changeset viewer.