X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=scene.c;h=7e72ae66e4dc340802a0567e44fb20a7bd43ed04;hb=ef6b009c8781673f3e353d47ae270a9f712bd4bf;hp=18f711ddeb89a1b59f63d19afe6817927ec162e3;hpb=1659dea816cf9172d482dd9d19ca883a39eefb58;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(); }