public static void DrawFacette(Facette facette, Bitmap img, Color pen) { facette.TraceFilDeFer(img, pen); facette.RemplissageFacette(new List <Point>() { facette.GermeDeDEpart() }, new List <Point>(), img, pen, 0); }
public static void DrawFacette(Bitmap img, Color pen) { Facette facette = new Facette( new Point(50, -20, 0), new Point(100, 100, 0), new Point(-50, 20, 0), new Point(-100, -100, 0)); facette = facette.RotationZ(45); facette = facette.Homothetie(new Point(0, 0, 0), 0.4); facette = facette.Translation(50, 50, 0); facette.TraceFilDeFer(img, pen); facette.RemplissageFacette(new List <Point>() { facette.GermeDeDEpart() }, new List <Point>(), img, pen, 0); }