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; }
public Line(Vertex v1, Vertex v2, Color color) { this.v1 = v1; this.v2 = v2; this.color = color; }