Ejemplo n.º 1
0
 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);
     }
 }
Ejemplo n.º 2
0
 public Form1()
 {
     InitializeComponent();
         desc = new DrawingDesc(pictureBox1);
 }
Ejemplo n.º 3
0
 public static void DrawGeneration(this DrawingDesc desc, Generation generation, Pen pen)
 {
 }
Ejemplo n.º 4
0
 public Form1()
 {
     InitializeComponent();
     desc = new DrawingDesc(pictureBox1);
 }