Ver Fonte

Deleted triangle.

Daniel Kauth há 11 anos atrás
pai
commit
e66ab15909
2 ficheiros alterados com 0 adições e 56 exclusões
  1. 0 52
      bbiwarg/Graphics/Triangle.cs
  2. 0 4
      bbiwarg/bbiwarg.csproj

+ 0 - 52
bbiwarg/Graphics/Triangle.cs

@@ -1,52 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using System.Drawing;
-using OpenTK;
-using OpenTK.Graphics.OpenGL;
-using MathNet.Numerics.LinearAlgebra.Single;
-
-namespace bbiwarg.Test
-{
-    class Triangle
-    {
-        public Pixel3D a;
-        public Pixel3D b;
-        public Pixel3D c;
-        public Color color = Color.Red;
-
-        public Triangle(Pixel3D a, Pixel3D b, Pixel3D c)
-	    {
-            this.a = a;
-            this.b = b;
-            this.c = c;
-	    }
-
-        public void draw()
-        {
-            a.draw();
-            b.draw();
-            c.draw();
-
-            GL.Color3(color);
-
-            GL.Begin(BeginMode.Triangles);
-            GL.Vertex3(a.x, a.y, a.depth);
-            GL.Vertex3(b.x, b.y, b.depth);
-            GL.Vertex3(c.x, c.y, c.depth);
-            GL.End();
-        }
-
-        public void setPixel(Pixel3D a, Pixel3D b, Pixel3D c)
-        {
-            this.a = a;
-            this.b = b;
-            this.c = c;
-        }
-
-        
-
-    }
-}

+ 0 - 4
bbiwarg/bbiwarg.csproj

@@ -70,10 +70,6 @@
     <Compile Include="Main\OutputTest.cs" />
     <Compile Include="Graphics\Output.cs" />
     <Compile Include="Properties\AssemblyInfo.cs" />
-    <Compile Include="Test\OutputTest.cs" />
-    <Compile Include="Test\Pixel3D.cs" />
-    <Compile Include="Main\TestDataSource.cs" />
-    <Compile Include="Test\Triangle.cs" />
   </ItemGroup>
   <ItemGroup>
     <None Include="App.config" />