From: Ash Tyndall Date: Tue, 18 Oct 2011 10:51:52 +0000 (+0800) Subject: (no commit message) X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=c3f151c018e143e5505a2c13f3ab876fd5b0a67f;p=atyndall%2Fcits2231.git --- diff --git a/scene.c b/scene.c index 242a104..aa26ba1 100644 --- a/scene.c +++ b/scene.c @@ -591,7 +591,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, 0.0 /* up is in postivie Y direction */ ); /* Reposition the light source. */ @@ -645,7 +645,7 @@ void init() { gluPerspective( 60.0, /* field of view in degree */ 1.0, /* aspect ratio */ - 0.0, /* Z near */ + -900.0, /* Z near */ 900.0 /* Z far */ );