From: jpbruyere Date: Sun, 15 Jan 2017 16:05:42 +0000 (+0100) Subject: debug X-Git-Tag: v0.5.1~28^2~9^2 X-Git-Url: https://git.osiis.dedyn.io/?a=commitdiff_plain;h=40e30c5fb023543d92ab52ceb1e09099ce70cd78;p=jp%2Fcrow.git debug --- 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