X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=blobdiff_plain;f=scene.c;h=aa3a80ba7062b4ac66d7c1ed951f7d8582f213f7;hp=67baaa4c0c0374b719c9246305124d90c52d71a7;hb=a06728bc8ad584aafd216c2a3bfd7b9d9b4305d3;hpb=7aefab9090614501742fe496b628ffe5121d5d75 diff --git a/scene.c b/scene.c index 67baaa4..aa3a80b 100644 --- a/scene.c +++ b/scene.c @@ -584,13 +584,13 @@ void init() { gluPerspective( 60.0, /* field of view in degree */ 1.0, /* aspect ratio */ - -10.0, /* Z near */ + 0.0, /* Z near */ 900.0 /* Z far */ ); glMatrixMode(GL_MODELVIEW); gluLookAt( - 0.0, 8.0, 60.0, /* eye is at (0,8,60) */ + 0.0, -10.0, -60.0, /* eye is at (0,8,60) */ 0.0, 8.0, 0.0, /* center is at (0,8,0) */ 0.0, 1.0, 0.0 /* up is in postivie Y direction */ );