From: Ash Tyndall Date: Tue, 18 Oct 2011 10:51:18 +0000 (+0800) Subject: (no commit message) X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=fbcff5fdddb4380b77f5cc4eb8a9419266fc1355;p=atyndall%2Fcits2231.git --- diff --git a/scene.c b/scene.c index 31b8317..242a104 100644 --- a/scene.c +++ b/scene.c @@ -589,9 +589,9 @@ void display() { glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); glLoadIdentity(); gluLookAt( - 0.0, 0.0, -60.0, /* eye is at (x,y,z) */ + 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, 0.0 /* up is in postivie Y direction */ ); /* Reposition the light source. */