From 40e30c5fb023543d92ab52ceb1e09099ce70cd78 Mon Sep 17 00:00:00 2001 From: jpbruyere Date: Sun, 15 Jan 2017 17:05:42 +0100 Subject: [PATCH] debug --- Tests/CrowWindow.cs | 2 +- Tests/Hello3D.cs | 2 +- Tests/Tests.csproj | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Tests/CrowWindow.cs b/Tests/CrowWindow.cs index 25211744..07f6ab79 100644 --- a/Tests/CrowWindow.cs +++ b/Tests/CrowWindow.cs @@ -170,7 +170,7 @@ namespace Crow public ProjectiveIFaceControler Add3DInterface(int width, int height, Matrix4 ifaceModelMat){ ProjectiveIFaceControler tmp = new ProjectiveIFaceControler (new Rectangle (0, 0, width, height), ifaceModelMat); - ifaceControl.Add (tmp); + addInterfaceControler (tmp); return tmp; } public GraphicObject AddWidget (GraphicObject g, int interfaceIdx = 0){ diff --git a/Tests/Hello3D.cs b/Tests/Hello3D.cs index c03a5ced..2fe58557 100644 --- a/Tests/Hello3D.cs +++ b/Tests/Hello3D.cs @@ -74,7 +74,7 @@ namespace Tests MouseMove += HelloCube_MouseMove; MouseWheelChanged += Hello3D_MouseWheelChanged; - iface3D = Add3DInterface (2048, 2048, + iface3D = Add3DInterface (800, 800, Matrix4.CreateScale (6f) * Matrix4.CreateRotationX (MathHelper.PiOver2) * Matrix4.CreateTranslation (Vector3.UnitY * -1.1f)); diff --git a/Tests/Tests.csproj b/Tests/Tests.csproj index 4e19b4d8..cbfb960e 100644 --- a/Tests/Tests.csproj +++ b/Tests/Tests.csproj @@ -8,7 +8,7 @@ Exe Tests Tests - Tests.Hello3D + Tests.BasicTests v4.5 AnyCPU 0.5 -- 2.47.3