Alexander Hendrich 11 лет назад
Родитель
Сommit
d4aa51f4d2
2 измененных файлов с 5 добавлено и 11 удалено
  1. 0 7
      bbiwarg/DataSource/IisuDataSource.cs
  2. 5 4
      bbiwarg/Graphics/Output.cs

+ 0 - 7
bbiwarg/DataSource/IisuDataSource.cs

@@ -358,9 +358,6 @@ namespace bbiwarg.DataSource
 
         public VertexArray getVertexArray()
         {
-            Stopwatch sw = new Stopwatch();
-            sw.Start();
-
             Vertex[] vertices = new Vertex[width * height];
             Color[] colors = new Color[width * height];
 
@@ -379,10 +376,6 @@ namespace bbiwarg.DataSource
 
             }
 
-            sw.Stop();
-            Console.WriteLine(sw.ElapsedMilliseconds);
-
-
             return new VertexArray(vertices, colors);
         }
 

+ 5 - 4
bbiwarg/Graphics/Output.cs

@@ -1,5 +1,6 @@
 using System;
-using System.Collections.Generic;
+using System.Collections.Generic;
+using System.Diagnostics;
 using System.Drawing;
 using System.Linq;
 using System.Text;
@@ -57,13 +58,13 @@ namespace bbiwarg.Graphics
             currentImage = source.getImageData();
 
             updateDepthPixels();
-            
+
             foreach (IGraphicElement graphicElement in graphicElements) {
                 graphicElement.draw();
             }
-            
+
             //updateBuffer();
-            //drawBuffer();
+            //drawBuffer();
 
             SwapBuffers();
         }