- TriangulateProcess: use ear cutting for quads. This fixes [3429812] (http://sourceforge.net/tracker/?func=detail&aid=3429812&group_id=226462&atid=1067632).
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1153 67173fc5-114c-0410-ac8e-9d2fd5bffc1fpull/5/head
parent
c8c9d6cec8
commit
4b61e27590
|
@ -216,7 +216,7 @@ bool TriangulateProcess::TriangulateMesh( aiMesh* pMesh)
|
|||
|
||||
face.mIndices = NULL;
|
||||
continue;
|
||||
}
|
||||
} /* does not handle concave quads
|
||||
// optimized code for quadrilaterals
|
||||
else if ( face.mNumIndices == 4) {
|
||||
aiFace& nface = *curOut++;
|
||||
|
@ -233,7 +233,7 @@ bool TriangulateProcess::TriangulateMesh( aiMesh* pMesh)
|
|||
|
||||
face.mIndices = NULL;
|
||||
continue;
|
||||
}
|
||||
} */
|
||||
else
|
||||
{
|
||||
// A polygon with more than 3 vertices can be either concave or convex.
|
||||
|
|
Loading…
Reference in New Issue