Skip to content

Commit

Permalink
fix: point offset sign
Browse files Browse the repository at this point in the history
Fix the sign in `CleanupJob` with respect to `pointsOffset` introduced @c8a20bf.
  • Loading branch information
andywiecko committed Oct 22, 2023
1 parent 235d441 commit 5d5b363
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Runtime/Triangulator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2380,9 +2380,9 @@ private void CleanupTriangles()
{
continue;
}
outputTriangles.Add(t0 - 3 - pointsOffset[t0]);
outputTriangles.Add(t1 - 3 - pointsOffset[t1]);
outputTriangles.Add(t2 - 3 - pointsOffset[t2]);
outputTriangles.Add(t0 - 3 + pointsOffset[t0]);
outputTriangles.Add(t1 - 3 + pointsOffset[t1]);
outputTriangles.Add(t2 - 3 + pointsOffset[t2]);
}
}

Expand Down

0 comments on commit 5d5b363

Please sign in to comment.