Ignore:
Timestamp:
09/12/05 18:24:44 (19 years ago)
Author:
mattausch
Message:

debugged bsp stuff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/VUT/GtpVisibilityPreprocessor/src/Polygon3.cpp

    r262 r264  
    1111 
    1212Polygon3::Polygon3(Face *face, Mesh *parent) 
    13 { 
    14         VertexIndexContainer::reverse_iterator it = face->mVertexIndices.rbegin(); 
    15  
    16         for (; it != face->mVertexIndices.rend();  ++it) 
     13{        
     14        VertexIndexContainer::iterator it = face->mVertexIndices.begin(); 
     15        for (; it != face->mVertexIndices.end();  ++it) 
    1716        { 
    1817                mVertices.push_back(parent->mVertices[*it]); 
     
    123122                        onBackSide = true; 
    124123                } 
    125  
    126                 if (onFrontSide && onBackSide) // split //TODO: check if through vvertex 
     124                //TODO: check if split goes through vertex 
     125                if (onFrontSide && onBackSide) // split  
    127126                { 
    128127                        return SPLIT; 
Note: See TracChangeset for help on using the changeset viewer.