From: Ash Tyndall Date: Tue, 18 Oct 2011 10:42:34 +0000 (+0800) Subject: (no commit message) X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=ce7b7f0dc579cb9b4e1a48080c6cdbf778a376af;p=atyndall%2Fcits2231.git --- 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();