X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=blobdiff_plain;f=scene.c;h=471a506e3d78729ede93be401a0dac25311fb2fa;hp=8d90cf7abdfc2c1c53074c8153cf5608757f984c;hb=ce7b7f0dc579cb9b4e1a48080c6cdbf778a376af;hpb=3e8ceebc6631ba603ff2428694c066ef5478a991 diff --git a/scene.c b/scene.c index 8d90cf7..471a506 100644 --- a/scene.c +++ b/scene.c @@ -539,7 +539,7 @@ void display() { gluLookAt( 0.0, 0.0, -60.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 */ + 0.0, 1.0, 1.0 /* up is in postivie Y direction */ ); /* Reposition the light source. */ @@ -558,7 +558,7 @@ void display() { glPushMatrix(); - glTranslatef(0.0, 0.0, 0.0); + //glTranslatef(0.0, 0.0, 0.0); glutSolidTeapot(30); // Draw teapot for test glPopMatrix();