Пример #1
0
        /*  public int CrearCara()
         * {
         *    face f = new face();
         *    caras.Add(f);
         *    return caras.Count - 1;
         * }
         */
        public int crearCara(List <int> Indices)
        {
            int faceIndex;

            face newFace = new face();

            newFace.setVertices(Indices);
            caras.Add(newFace);
            faceIndex = caras.Count - 1;


            return(faceIndex);
        }
Пример #2
0
 public int addCara(face f)
 {
     caras.Add(f);
     return(caras.Count - 1);
 }