X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;ds=sidebyside;f=scene.c;h=a7965438f5cff2e1a6588be47718743663f9da32;hb=66ac3dee15c36c09cb7cb49ffec82640f8ea500a;hp=9c6d0c4d690359025dc245a7508a0def863b6259;hpb=bf3cf131a6c4b18ca07a2a85156c063ff3bdcd04;p=atyndall%2Fcits2231.git diff --git a/scene.c b/scene.c index 9c6d0c4..a796543 100644 --- a/scene.c +++ b/scene.c @@ -289,7 +289,7 @@ void display() { glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); glLoadIdentity(); gluLookAt( - 0.0, 0.0, 10.0, /* eye is at (x,y,z) */ + 0.0, 0.0, 30.0, /* eye is at (x,y,z) */ 0.0, 0.0, 0.0, /* center is at (x,y,z) */ 0.0, -1.0, 0.0 /* up is in postivie Y direction */ ); @@ -298,7 +298,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(50.0, 1.0, 0.0, 0.0); /* Reposition the light source. */ lightPosition[0] = 12*cos(lightAngle);