예제 #1
0
 public void AddData(VertexPositionColor[] VertexList, short[] IndexList)
 {
     int _count = this.VertexList.Count;
     this.VertexList.AddRange(VertexList.ToList<VertexPositionColor>());
     foreach (short index in IndexList)
     {
         this.IndexList.Add((short)(index + _count));
     }
 }
예제 #2
0
 public LineData(VertexPositionColor[] VertexList, short[] IndexList)
 {
     this.VertexList = VertexList.ToList<VertexPositionColor>();
     this.IndexList = IndexList.ToList<short>();
 }