summaryrefslogtreecommitdiff
path: root/TestApp/RenderWindow.cs
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2011-03-05 05:25:14 +0100
committerTreeki <treeki@gmail.com>2011-03-05 05:25:14 +0100
commite962fd89af865d6e01522e9752f5fbd855ce128a (patch)
tree0fb19e74a2d87b2ece48152fee2b2f4ed963828c /TestApp/RenderWindow.cs
parenta5b6dc1789f2e06a26fe6a0510aee04aeccdc70b (diff)
downloadnw4rtools-e962fd89af865d6e01522e9752f5fbd855ce128a.tar.gz
nw4rtools-e962fd89af865d6e01522e9752f5fbd855ce128a.zip
partially working obj importer. still untested in-game
Diffstat (limited to 'TestApp/RenderWindow.cs')
-rw-r--r--TestApp/RenderWindow.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/TestApp/RenderWindow.cs b/TestApp/RenderWindow.cs
index 3215190..2f29d0f 100644
--- a/TestApp/RenderWindow.cs
+++ b/TestApp/RenderWindow.cs
@@ -46,7 +46,7 @@ namespace TestApp {
GL.Clear(ClearBufferMask.ColorBufferBit | ClearBufferMask.DepthBufferBit);
//Matrix4 modelview = Matrix4.LookAt(new Vector3(1000, 600, 1000), new Vector3(1000, 0, 0), Vector3.UnitY);
- Matrix4 modelview = Matrix4.LookAt(new Vector3(0, 0, 1000), new Vector3(0, 0, 0), Vector3.UnitY);
+ Matrix4 modelview = Matrix4.LookAt(new Vector3(0, 2, 4), new Vector3(0, 0, 0), Vector3.UnitY);
GL.MatrixMode(MatrixMode.Modelview);
GL.LoadMatrix(ref modelview);