From ef6b009c8781673f3e353d47ae270a9f712bd4bf Mon Sep 17 00:00:00 2001 From: Ash Tyndall Date: Sun, 9 Oct 2011 19:12:24 +0800 Subject: [PATCH] --- scene.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scene.c b/scene.c index 18f711d..7e72ae6 100644 --- a/scene.c +++ b/scene.c @@ -541,5 +541,11 @@ int main(int argc, char **argv) { glutMouseFunc(mouse); makeMenu(); + + glMatrixMode(GL_PROJECTION); + glLoadIdentity(); + gluPerspective( 60, 1, 0.1, 1000.0); + glMatrixMode(GL_MODELVIEW); + glutMainLoop(); } -- 2.20.1