X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=blobdiff_plain;f=scene.c;h=f53d92f365932adfead0bdbd6d78e00ed33d15ae;hp=4e4c5f5e56a9b982581f3e8668feb1369f77a737;hb=bb4992ad1302ba26e80fbc92af46e57ab47cc9bb;hpb=5fb3d584d42d4502a5d0854fc6d6c9c4be665aa8 diff --git a/scene.c b/scene.c index 4e4c5f5..f53d92f 100644 --- a/scene.c +++ b/scene.c @@ -308,7 +308,7 @@ void display() { } gluPerspective( - 75.0, + 60.0, aspect, 0.1, 200 @@ -318,9 +318,9 @@ void display() { glLoadIdentity(); gluLookAt( - 0.0, 0.0, 5.0 + (zoom*zoomFactor), /* eye is at (x,y,z) */ + 0.0, 0.0, 15.0 + (zoom*zoomFactor), /* 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 */ + 0.0, 10.0, 0.0 /* up is in postivie Y direction */ ); glRotatef(50.0, 1.0, 0.0, 0.0);