Beispiel #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++;
        }
Beispiel #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++;
        }
Beispiel #3
0
 public Face()
 {
     Verts = new Vert[3];
     Colour = Colour4.White;
 }
Beispiel #4
0
 public Face()
 {
     Verts  = new Vert[3];
     Colour = Colour4.White;
 }