Exemple #1
0
        public static void RepaireAllHole(TriMesh mesh)
        {
            List <List <TriMesh.Vertex> > holes = TriMeshUtil.RetrieveBoundaryAllVertex(mesh);

            for (int i = 0; i < holes.Count; i++)
            {
                RepaireHoleTwo(holes[i]);
            }

            TriMeshUtil.FixIndex(mesh);
        }