Exemplo n.º 1
0
        public void addPoint(Vert vert)
        {
            if (index == 3)
            {
                Log.Write("WARNING: Trying to add more than 3 verts to a triangle?");
                return;
            }

            Verts[index] = vert;
            index++;
        }
Exemplo n.º 2
0
        public void addPoint(Vert vert)
        {
            if (index == 3)
            {
                Log.Write("WARNING: Trying to add more than 3 verts to a triangle?");
                return;
            }

            Verts[index] = vert;
            index++;
        }
Exemplo n.º 3
0
 public Face()
 {
     Verts = new Vert[3];
     Colour = Colour4.White;
 }
Exemplo n.º 4
0
 public Face()
 {
     Verts  = new Vert[3];
     Colour = Colour4.White;
 }