From b625da59b0bbe60a9380dbd00df1ae982e6b5a58 Mon Sep 17 00:00:00 2001 From: Treeki Date: Wed, 16 Mar 2011 05:14:49 +0100 Subject: now uses 8-bit vertex data indexes where possible. quite a big optimisation! --- TestApp/RenderWindow.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'TestApp/RenderWindow.cs') diff --git a/TestApp/RenderWindow.cs b/TestApp/RenderWindow.cs index f314146..fed1b9a 100644 --- a/TestApp/RenderWindow.cs +++ b/TestApp/RenderWindow.cs @@ -61,8 +61,8 @@ namespace TestApp { GL.Clear(ClearBufferMask.ColorBufferBit | ClearBufferMask.DepthBufferBit); - //Matrix4 modelview = Matrix4.LookAt(new Vector3(1000, 400, 1000), new Vector3(1000, 0, 0), Vector3.UnitY); - Matrix4 modelview = Matrix4.LookAt(new Vector3(-50, 20, 50), new Vector3(0, 0, 0), Vector3.UnitY); + Matrix4 modelview = Matrix4.LookAt(new Vector3(0, 400, 1000), new Vector3(0, 0, 0), Vector3.UnitY); + //Matrix4 modelview = Matrix4.LookAt(new Vector3(-50, 20, 50), new Vector3(0, 0, 0), Vector3.UnitY); GL.MatrixMode(MatrixMode.Modelview); GL.LoadMatrix(ref modelview); -- cgit v1.2.3