Isosurface.ManifoldDC.OctreeNode.AssignSurface C# (CSharp) Method

AssignSurface() private static method

private static AssignSurface ( List vertices, int from, int to ) : void
vertices List
from int
to int
return void
        private static void AssignSurface(List<Vertex> vertices, int from, int to)
        {
            foreach (Vertex v in vertices)
            {
                if (v != null && v.surface_index == from)
                    v.surface_index = to;
            }
        }