public void SetSimplices(int[] simplices, SimplexCounts counts) { this.simplices.CopyFrom(simplices); this.simplexCounts = counts; if (simplexBounds.IsCreated) { simplexBounds.Dispose(); } simplexBounds = new NativeArray <BurstAabb>(counts.simplexCount, Allocator.Persistent); cellCoords = abstraction.cellCoords.AsNativeArray <int4>(); }
public void SetSimplices(int[] simplices, SimplexCounts counts) { }
public void SetSimplices(int[] simplices, SimplexCounts counts) { Oni.SetSimplices(m_OniSolver, simplices, counts.pointCount, counts.edgeCount, counts.triangleCount); }