(no commit message)
authorAsh Tyndall <[email protected]>
Tue, 18 Oct 2011 07:25:57 +0000 (15:25 +0800)
committerAsh Tyndall <[email protected]>
Tue, 18 Oct 2011 07:25:57 +0000 (15:25 +0800)
scene.c

diff --git a/scene.c b/scene.c
index 6f02897..19df7a5 100644 (file)
--- a/scene.c
+++ b/scene.c
@@ -581,13 +581,13 @@ void init() {
       0.0,  /* Z near */\r
     900.0   /* Z far */\r
     );\r
-  glLoadIdentity();\r
+  \r
   glMatrixMode(GL_MODELVIEW);\r
   glLoadIdentity();\r
   gluLookAt(\r
     0.0, 8.0, 60.0,  /* eye is at (0,8,60) */\r
     0.0, 8.0,  0.0,  /* center is at (0,8,0) */\r
-    0.0, 1.0,  0.0   /* up is in postivie Y direction */\r
+    0.0, 0.0,  1.0   /* up is in postivie Y direction */\r
     );      \r
 \r
   glLightModeli(GL_LIGHT_MODEL_LOCAL_VIEWER, 1);\r

UCC git Repository :: git.ucc.asn.au