summaryrefslogtreecommitdiff
path: root/TestApp/RenderWindow.cs
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2011-03-16 05:14:49 +0100
committerTreeki <treeki@gmail.com>2011-03-16 05:14:49 +0100
commitb625da59b0bbe60a9380dbd00df1ae982e6b5a58 (patch)
treee2622b0c2e235a68ac3c4f8913117e158d3335bf /TestApp/RenderWindow.cs
parent51b0e39ceb5962ffd9b22f1b4722d2b243dba60f (diff)
downloadnw4rtools-b625da59b0bbe60a9380dbd00df1ae982e6b5a58.tar.gz
nw4rtools-b625da59b0bbe60a9380dbd00df1ae982e6b5a58.zip
now uses 8-bit vertex data indexes where possible. quite a big optimisation!
Diffstat (limited to '')
-rw-r--r--TestApp/RenderWindow.cs4
1 files changed, 2 insertions, 2 deletions
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);