Beispiel #1
0
 public Wall(float[,] coord, uint textureId, Vertex v1, Vertex v2, Vertex v3, Vertex v4)
 {
     //copy coord array
        //for (int i = 0; i < 3; i++)
        //{
        //    for (int j = 0; j < 3; j++)
        //    {
        //        this.coord[i, j] = coord[i, j];
        //    }
        //}
     this.textureId = textureId;
     this.v1 = v1;
     this.v2 = v2;
     this.v3 = v3;
     this.v4 = v4;
 }
Beispiel #2
0
 public Line(Vertex v1, Vertex v2, Color color)
 {
     this.v1 = v1;
     this.v2 = v2;
     this.color = color;
 }