X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=blobdiff_plain;f=scene.c;h=347e681a3e826928cdc7f3179a9ccdd04d2346e2;hp=83e1c299eed996576613192e7f5ec15bf1e9e5c7;hb=ade8e2c782d2453bcd6efabbb3ae1f1d00c36418;hpb=8664ff7d3cbe2e5285d067231f54772b46649653 diff --git a/scene.c b/scene.c index 83e1c29..347e681 100644 --- a/scene.c +++ b/scene.c @@ -305,12 +305,12 @@ void display() { glLoadIdentity(); gluLookAt( - 0.0, 0.0, 30.0, /* eye is at (x,y,z) */ + 0.0, 0.0, 5.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 */ ); - glRotatef(30.0, 1.0, 0.0, 0.0); + glRotatef(75.0, 1.0, 0.0, 0.0); /* Reposition the light source. */ lightPosition[0] = 12*cos(lightAngle);