X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=blobdiff_plain;f=scene.c;h=ecabe1f16b5ffc278f564915507a5987fc1b7a66;hp=de52ab893e4877ecc94830012c10a9543b9658a8;hb=e1106adcec8622ffa66be50379561f4c9cd06ea6;hpb=71a79323a397f78dba55423678096176a98106cb diff --git a/scene.c b/scene.c index de52ab8..ecabe1f 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(20, 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);