ubMeshmerizer, fix the orientation of last triangle on top/bottom faces in case on circle hollow shape

melanie
UbitUmarov 2016-12-03 18:35:31 +00:00
parent 6a8b8f3168
commit 2ff75e7692
1 changed files with 2 additions and 2 deletions

View File

@ -718,8 +718,8 @@ namespace PrimMesher
} }
newFace.v1 = 0; newFace.v1 = 0;
newFace.v2 = numTotalVerts - numHollowVerts; newFace.v2 = numTotalVerts - 1;
newFace.v3 = numTotalVerts - 1; newFace.v3 = numTotalVerts - numHollowVerts;
faces.Add(newFace); faces.Add(newFace);
} }
} }