public static void DrawMesh(this DrawingDesc desc, Mesh mesh, Pen pen)
 {
     foreach (var item in mesh.Lines)
     {
         desc.AddLine((float)item.P1.X1, (float)item.P1.X2, (float)item.P2.X1, (float)item.P2.X2, pen);
     }
 }
Esempio n. 2
0
 public Form1()
 {
     InitializeComponent();
         desc = new DrawingDesc(pictureBox1);
 }
 public static void DrawGeneration(this DrawingDesc desc, Generation generation, Pen pen)
 {
 }
Esempio n. 4
0
 public Form1()
 {
     InitializeComponent();
     desc = new DrawingDesc(pictureBox1);
 }