(no commit message)
authorAsh Tyndall <[email protected]>
Sun, 9 Oct 2011 11:12:24 +0000 (19:12 +0800)
committerAsh Tyndall <[email protected]>
Sun, 9 Oct 2011 11:12:24 +0000 (19:12 +0800)
scene.c

diff --git a/scene.c b/scene.c
index 18f711d..7e72ae6 100644 (file)
--- a/scene.c
+++ b/scene.c
@@ -541,5 +541,11 @@ int main(int argc, char **argv) {
     glutMouseFunc(mouse);\r
 \r
     makeMenu();\r
+\r
+    glMatrixMode(GL_PROJECTION);\r
+    glLoadIdentity();\r
+    gluPerspective( 60, 1, 0.1, 1000.0);\r
+    glMatrixMode(GL_MODELVIEW);\r
+\r
     glutMainLoop();\r
 }\r

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