示例#1
0
文件: Face.cs 项目: Kruithne/W3DT
        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++;
        }
示例#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++;
        }
示例#3
0
文件: Face.cs 项目: Kruithne/W3DT
 public Face()
 {
     Verts = new Vert[3];
     Colour = Colour4.White;
 }
示例#4
0
 public Face()
 {
     Verts  = new Vert[3];
     Colour = Colour4.White;
 }