diff --git a/Runtime/Triangulator.cs b/Runtime/Triangulator.cs index 54da14a..eabf4f1 100644 --- a/Runtime/Triangulator.cs +++ b/Runtime/Triangulator.cs @@ -3531,7 +3531,7 @@ private void AdaptQueues(NativeList heQueue, NativeList tQueue) for (int i = 0; i < heQueue.Length; i++) { var he = heQueue[i]; - if (he == 3 * tId + 0 || he == 3 * tId + 1 || he == 3 * tId + 2) + if (he / 3 == tId) { heQueue[i] = -1; continue;