ubMeshmerizer: fix the orientation of last triangle on top/bottom faces of

hollow cylinders plz delete contents of bin/MeshCache to remove defective
entries"
httptests
UbitUmarov 2017-04-26 18:21:35 +01:00
parent c8fcf9bceb
commit ce655056ca
1 changed files with 2 additions and 2 deletions

View File

@ -755,8 +755,8 @@ namespace PrimMesher
if (hollowAngles.angles[0].angle - angles.angles[i].angle < angles.angles[i].angle - hollowAngles.angles[maxJ].angle + 0.000001f)
{
newFace.v1 = 0;
newFace.v2 = numTotalVerts - maxJ - 1;
newFace.v3 = numTotalVerts - 1;
newFace.v2 = numTotalVerts - 1;
newFace.v3 = numTotalVerts - maxJ - 1;
faces.Add(newFace);
}