Skip to content

Commit

Permalink
Merge pull request #66 from Andres-Barrera/fix/triangulate-bug-fix
Browse files Browse the repository at this point in the history
Fixed Triangulate incorrect DiagonalLoose call
  • Loading branch information
Robmaister committed Oct 23, 2016
2 parents 96ddd93 + 0cda41d commit fd2b70e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/SharpNav/PolyMesh.cs
Expand Up @@ -588,7 +588,7 @@ private static int Triangulate(int n, PolyVertex[] verts, int[] indices, Triangl
{
int i1 = Next(i, n);
int i2 = Next(i1, n);
if (DiagonalieLoose(i, i2, verts, indices))
if (DiagonalLoose(i, i2, verts, indices))
{
int p0 = RemoveDiagonalFlag(indices[i]);
int p2 = RemoveDiagonalFlag(indices[Next(i2, n)]);
Expand Down

0 comments on commit fd2b70e

Please sign in to comment.