From: Ash Tyndall Date: Fri, 21 Oct 2011 01:11:47 +0000 (+0800) Subject: (no commit message) X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=4170b70cae8f5773dc059299a3c2ee0fe9cceaf1;p=atyndall%2Fcits2231.git --- diff --git a/scene.c b/scene.c index 83e1c29..618fef1 100644 --- a/scene.c +++ b/scene.c @@ -305,12 +305,12 @@ void display() { glLoadIdentity(); gluLookAt( - 0.0, 0.0, 30.0, /* eye is at (x,y,z) */ + 0.0, 0.0, 15.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 */ ); - glRotatef(30.0, 1.0, 0.0, 0.0); + glRotatef(45.0, 1.0, 0.0, 0.0); /* Reposition the light source. */ lightPosition[0] = 12*cos(lightAngle);