X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=blobdiff_plain;f=scene.c;h=98296168e91bdcb9e46540d7584812c6d22dc6aa;hp=d22aa94ad05979d4f1f2cef59ea0917a29a75235;hb=04b80f76711fefed66b740898072a6a1fd51171d;hpb=2edfbf59af3b619100c7d2174f693937045a227a;ds=sidebyside diff --git a/scene.c b/scene.c index d22aa94..9829616 100644 --- a/scene.c +++ b/scene.c @@ -318,9 +318,9 @@ void display() { glLoadIdentity(); gluLookAt( - 10.0, 0.0, 15.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);