diff --git a/Runtime/Triangulator.cs b/Runtime/Triangulator.cs index ce432ee..b7cdf33 100644 --- a/Runtime/Triangulator.cs +++ b/Runtime/Triangulator.cs @@ -1468,7 +1468,7 @@ public void DynamicInsertPoint(OutputData output, int tId, T2 p, Allocator a { using var pathHalfedges = new NativeList(allocator); using var pathPoints = new NativeList(allocator); - using var trianglesQueue = new NativeQueue(allocator); + using var trianglesQueue = new NativeQueueList(allocator); using var visitedTriangles = new NativeList(allocator); new RefineMeshStep.UnsafeBowerWatson @@ -1486,7 +1486,7 @@ public void DynamicSplitHalfedge(OutputData output, int he, T alpha, Allocat { using var pathHalfedges = new NativeList(allocator); using var pathPoints = new NativeList(allocator); - using var trianglesQueue = new NativeQueue(allocator); + using var trianglesQueue = new NativeQueueList(allocator); using var visitedTriangles = new NativeList(allocator); var triangles = output.Triangles; @@ -3226,7 +3226,7 @@ public void Execute(Allocator allocator, bool refineMesh, bool constrainBoundary } using var _circles = circles = new(allocator) { Length = triangles.Length / 3 }; - using var trianglesQueue = new NativeQueue(allocator); + using var trianglesQueue = new NativeQueueList(allocator); using var pathPoints = new NativeList(allocator); using var pathHalfedges = new NativeList(allocator); using var visitedTriangles = new NativeList(triangles.Length / 3, allocator); @@ -3487,7 +3487,7 @@ public struct UnsafeBowerWatson public OutputData Output; public NativeList Circles; - public NativeQueue TrianglesQueue; + public NativeQueueList TrianglesQueue; public NativeList PathPoints; public NativeList PathHalfedges; public NativeList VisitedTriangles;