X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=blobdiff_plain;f=scene.c;h=66c7e1d9d1398e5dc375005c1f8548284ba5034e;hp=74136de308594d8800756a2900eb380aaf224b73;hb=0e3edb12fed934c0d041563c98c2d04088ee3ae5;hpb=fc3ea14064066eaac7d0253fd5d4a3c2aa87457d diff --git a/scene.c b/scene.c index 74136de..66c7e1d 100644 --- a/scene.c +++ b/scene.c @@ -613,12 +613,12 @@ void display() { glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); glLoadIdentity(); gluLookAt( - 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 */ + 043.0, 52.0, 80.0, /* eye is at (x,y,z) */ + 04.0, 456.0, 480, /* center is at (x,y,z) */ + 04.0, 1.0, 60.0 /* up is in postivie Y direction */ ); - glRotatef(45.0, 1.0, 0.0, 0.0); + glRotatef(30.0, 1.0, 0.0, 0.0); /* Reposition the light source. */ lightPosition[0] = 12*cos(lightAngle);