From: Ash Tyndall Date: Sun, 9 Oct 2011 11:12:24 +0000 (+0800) Subject: (no commit message) X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=ef6b009c8781673f3e353d47ae270a9f712bd4bf;p=atyndall%2Fcits2231.git --- 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(); }