Exemple #1
0
        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>();
        }
Exemple #2
0
 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);
 }