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
parent
c8fcf9bceb
commit
ce655056ca
|
@ -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)
|
if (hollowAngles.angles[0].angle - angles.angles[i].angle < angles.angles[i].angle - hollowAngles.angles[maxJ].angle + 0.000001f)
|
||||||
{
|
{
|
||||||
newFace.v1 = 0;
|
newFace.v1 = 0;
|
||||||
newFace.v2 = numTotalVerts - maxJ - 1;
|
newFace.v2 = numTotalVerts - 1;
|
||||||
newFace.v3 = numTotalVerts - 1;
|
newFace.v3 = numTotalVerts - maxJ - 1;
|
||||||
|
|
||||||
faces.Add(newFace);
|
faces.Add(newFace);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue