mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 18:25:33 +08:00
ubMeshmerizer: fix the orientation of last triangle on top/bottom faces of
hollow cylinders plz delete contents of bin/MeshCache to remove defective entries"
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user