Ignore:
Timestamp:
09/19/05 09:01:31 (19 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

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

    r290 r291  
    2424                mVertices.push_back(parentMesh->mVertices[*it]); 
    2525                mMaterial = parentMesh->mMaterial; 
    26                  
    27                 //Debug << parentMesh->mVertices[*it] << endl; 
    2826        } 
    2927} 
     
    150148                        // Decide if plane and surface normal are same 
    151149                        if (DotProd(plane.mNormal, GetSupportingPlane().mNormal) > 0) 
    152                                 return COINCIDENT; 
     150                                return COINCIDENT; // plane and polygon are coincident 
    153151                        else  
    154152                                return FRONT_SIDE; 
     
    165163        } 
    166164 
    167         // plane and polygon are coincident 
    168         return COINCIDENT; 
     165        // Decide if plane and surface normal are same 
     166        if (DotProd(plane.mNormal, GetSupportingPlane().mNormal) > 0) 
     167                return COINCIDENT; // plane and polygon are coincident 
     168        else  
     169                return FRONT_SIDE; 
    169170} 
    170171 
Note: See TracChangeset for help on using the changeset viewer.