aboutsummaryrefslogtreecommitdiff
path: root/Unicity.RenderTest
diff options
context:
space:
mode:
Diffstat (limited to 'Unicity.RenderTest')
-rw-r--r--Unicity.RenderTest/App.config6
-rw-r--r--Unicity.RenderTest/Program.cs88
-rw-r--r--Unicity.RenderTest/Properties/AssemblyInfo.cs36
-rw-r--r--Unicity.RenderTest/Unicity.RenderTest.csproj59
4 files changed, 0 insertions, 189 deletions
diff --git a/Unicity.RenderTest/App.config b/Unicity.RenderTest/App.config
deleted file mode 100644
index 56efbc7..0000000
--- a/Unicity.RenderTest/App.config
+++ /dev/null
@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="utf-8" ?>
-<configuration>
- <startup>
- <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
- </startup>
-</configuration> \ No newline at end of file
diff --git a/Unicity.RenderTest/Program.cs b/Unicity.RenderTest/Program.cs
deleted file mode 100644
index 5a3bbc5..0000000
--- a/Unicity.RenderTest/Program.cs
+++ /dev/null
@@ -1,88 +0,0 @@
-using Unicity.Renderer;
-using Unicity.Renderer.Shapes;
-
-namespace Unicity.RenderTest
-{
- class Program
- {
- static RenderWindow window = null;
- static Camera camera = null;
- static GraphicsRenderer renderer = null;
-
- static Rectangle[] cube = null;
-
- static void Main(string[] args)
- {
- camera = new Camera(CameraProjectionMode.Perspective);
-
- using (window = new RenderWindow(400, 400, "Render Test"))
- using (renderer = new GraphicsRenderer(window, camera))
- {
- window.Init += Window_Init;
- window.Update += Window_Update;
- window.Render += Window_Render;
- window.Destroy += Window_Destroy;
-
- window.Open();
- }
- }
-
- private static void Window_Init(object sender, System.EventArgs e)
- {
- renderer.SetClearColor(0.0f, 0.0f, 0.0f, 1.0f);
- renderer.SetDrawColor(1.0f, 0.0f, 1.0f);
-
- cube = new Rectangle[]
- {
- new Rectangle(-1.0f, 1.0f, -1.0f,
- 1.0f, 1.0f, -1.0f,
- -1.0f, -1.0f, -1.0f,
- 1.0f, -1.0f, -1.0f),
-
- new Rectangle(-1.0f, 1.0f, 1.0f,
- 1.0f, 1.0f, 1.0f,
- -1.0f, -1.0f, 1.0f,
- 1.0f, -1.0f, 1.0f),
-
- new Rectangle(-1.0f, 1.0f, 1.0f,
- 1.0f, 1.0f, 1.0f,
- -1.0f, 1.0f, -1.0f,
- 1.0f, 1.0f, -1.0f),
-
- new Rectangle(-1.0f, -1.0f, 1.0f,
- 1.0f, -1.0f, 1.0f,
- -1.0f, -1.0f, -1.0f,
- 1.0f, -1.0f, -1.0f),
-
- new Rectangle(-1.0f, 1.0f, -1.0f,
- -1.0f, 1.0f, 1.0f,
- -1.0f, -1.0f, -1.0f,
- -1.0f, -1.0f, -1.0f),
-
- new Rectangle(1.0f, 1.0f, -1.0f,
- 1.0f, 1.0f, 1.0f,
- 1.0f, -1.0f, -1.0f,
- 1.0f, -1.0f, -1.0f)
- };
- }
-
- private static void Window_Update(object sender, System.EventArgs e)
- {
-
- }
-
- private static void Window_Render(object sender, System.EventArgs e)
- {
- renderer.ClearScreen();
- renderer.DrawShapes(cube);
- }
-
- private static void Window_Destroy(object sender, System.EventArgs e)
- {
- foreach (Rectangle rect in cube)
- {
- rect.Dispose();
- }
- }
- }
-}
diff --git a/Unicity.RenderTest/Properties/AssemblyInfo.cs b/Unicity.RenderTest/Properties/AssemblyInfo.cs
deleted file mode 100644
index d5a6093..0000000
--- a/Unicity.RenderTest/Properties/AssemblyInfo.cs
+++ /dev/null
@@ -1,36 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-
-// Allgemeine Informationen über eine Assembly werden über die folgenden
-// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
-// die einer Assembly zugeordnet sind.
-[assembly: AssemblyTitle("Unicity Render Test")]
-[assembly: AssemblyDescription("Test for the Unicity renderer")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("Alee Productions")]
-[assembly: AssemblyProduct("Unicity Renderer Test")]
-[assembly: AssemblyCopyright("Copyright © 2019 Alee Productions")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// Durch Festlegen von ComVisible auf FALSE werden die Typen in dieser Assembly
-// für COM-Komponenten unsichtbar. Wenn Sie auf einen Typ in dieser Assembly von
-// COM aus zugreifen müssen, sollten Sie das ComVisible-Attribut für diesen Typ auf "True" festlegen.
-[assembly: ComVisible(false)]
-
-// Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird
-[assembly: Guid("0155c998-9189-4c19-8dcc-13499797c7ea")]
-
-// Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten:
-//
-// Hauptversion
-// Nebenversion
-// Buildnummer
-// Revision
-//
-// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
-// indem Sie "*" wie unten gezeigt eingeben:
-// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/Unicity.RenderTest/Unicity.RenderTest.csproj b/Unicity.RenderTest/Unicity.RenderTest.csproj
deleted file mode 100644
index 556c185..0000000
--- a/Unicity.RenderTest/Unicity.RenderTest.csproj
+++ /dev/null
@@ -1,59 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
- <PropertyGroup>
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
- <ProjectGuid>{0155C998-9189-4C19-8DCC-13499797C7EA}</ProjectGuid>
- <OutputType>Exe</OutputType>
- <RootNamespace>Unicity.RenderTest</RootNamespace>
- <AssemblyName>RenderTest</AssemblyName>
- <TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
- <FileAlignment>512</FileAlignment>
- <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
- <Deterministic>true</Deterministic>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
- <PlatformTarget>AnyCPU</PlatformTarget>
- <DebugSymbols>true</DebugSymbols>
- <DebugType>full</DebugType>
- <Optimize>false</Optimize>
- <OutputPath>bin\Debug\</OutputPath>
- <DefineConstants>DEBUG;TRACE</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
- <PlatformTarget>AnyCPU</PlatformTarget>
- <DebugType>pdbonly</DebugType>
- <Optimize>true</Optimize>
- <OutputPath>bin\Release\</OutputPath>
- <DefineConstants>TRACE</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- </PropertyGroup>
- <ItemGroup>
- <Reference Include="System" />
- <Reference Include="System.Core" />
- <Reference Include="System.Xml.Linq" />
- <Reference Include="System.Data.DataSetExtensions" />
- <Reference Include="Microsoft.CSharp" />
- <Reference Include="System.Data" />
- <Reference Include="System.Net.Http" />
- <Reference Include="System.Xml" />
- </ItemGroup>
- <ItemGroup>
- <Compile Include="Program.cs" />
- <Compile Include="Properties\AssemblyInfo.cs" />
- </ItemGroup>
- <ItemGroup>
- <None Include="App.config" />
- </ItemGroup>
- <ItemGroup>
- <ProjectReference Include="..\Unicity.Renderer\Unicity.Renderer.csproj">
- <Project>{f6ebb1f8-fca9-4a8d-a807-e877cd047908}</Project>
- <Name>Unicity.Renderer</Name>
- </ProjectReference>
- </ItemGroup>
- <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
-</Project> \ No newline at end of file