X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=blobdiff_plain;f=scene.c;h=d22aa94ad05979d4f1f2cef59ea0917a29a75235;hp=1a535978db0697e18b9e7c0b4284c8c506cf8e14;hb=2edfbf59af3b619100c7d2174f693937045a227a;hpb=2e98919f0cc2e2334faa5daabfd0e456f96cea55 diff --git a/scene.c b/scene.c index 1a53597..d22aa94 100644 --- a/scene.c +++ b/scene.c @@ -318,7 +318,7 @@ void display() { glLoadIdentity(); gluLookAt( - 0.0, 0.0, 15.0 + (zoom*zoomFactor), /* eye is at (x,y,z) */ + 10.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 */ );