- 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-9d2fd5bffc1f
pull/5/head
aramis_acg 2012-02-03 17:36:07 +00:00
parent c8c9d6cec8
commit 4b61e27590
1 changed files with 2 additions and 2 deletions

View File

@ -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.