Exemplo n.º 1
0
        public void Registerface(params int[] v)
        {
            OriFace f = new OriFace();

            f.CreateMesh(v, this.vertexs, face_count);
            face_count++;
            surface.Add(f);
        }
Exemplo n.º 2
0
        public void Registerface(int[] v)
        {
            if (face_count == 0)
            {
                EdgesDP.init(vertex_count);
            }
            OriFace f = new OriFace(mat);

            f.CreateMesh(v, this.vertexs, face_count);
            face_count++;
            surface.Add(f);
        }