X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=blobdiff_plain;f=scene.c;h=73ce18a9288e97e902aa13499800f8f44d9e91e3;hp=de52ab893e4877ecc94830012c10a9543b9658a8;hb=49f9cb38a48e0fdb78f18ed6fe801ef639f2f69c;hpb=71a79323a397f78dba55423678096176a98106cb diff --git a/scene.c b/scene.c index de52ab8..73ce18a 100644 --- a/scene.c +++ b/scene.c @@ -263,7 +263,7 @@ void display() { // **NOTE: Currently this rotation function is all that moves the camera off // the flat surface. Need to integrate function into gluLookAt - glRotatef(30.0, 1.0, 0.0, 0.0); + glRotatef(-10, 1.0, 0.0, 0.0); /* Reposition the light source. */ lightPosition[0] = 12*cos(lightAngle); @@ -314,8 +314,8 @@ void init() { gluPerspective( 60.0, /* field of view in degree */ 1.0, /* aspect ratio */ - near, /* Z near */ - far /* Z far */ + nearClip, /* Z near */ + farClip /* Z far */ ); glMatrixMode(GL_MODELVIEW);