X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=blobdiff_plain;f=scene.c;h=347e681a3e826928cdc7f3179a9ccdd04d2346e2;hp=618fef14917ba6f5fb27bf80f099ab8a9a5b2105;hb=34009a867bb2aef3c2113ad6e10ce48911dbf8fe;hpb=4170b70cae8f5773dc059299a3c2ee0fe9cceaf1 diff --git a/scene.c b/scene.c index 618fef1..347e681 100644 --- a/scene.c +++ b/scene.c @@ -305,12 +305,12 @@ void display() { glLoadIdentity(); gluLookAt( - 0.0, 0.0, 15.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(45.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);