Ejemplo n.º 1
0
 public MeshTriangle(MeshVertex vertex1, MeshVertex vertex2, MeshVertex vertex3)
 {
     this.Vertex1 = vertex1;
     this.Vertex2 = vertex2;
     this.Vertex3 = vertex3;
     this.visible = true;
     this.CurrentBarycentricCoordinate = BarycentricCoordinate.Zero;
     this.material = null;
 }
Ejemplo n.º 2
0
 protected Primitive()
 {
     this.material = new PhongMaterial();
 }