From: Ash Tyndall Date: Fri, 21 Oct 2011 03:13:08 +0000 (+0800) Subject: (no commit message) X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=commitdiff_plain;h=2e98919f0cc2e2334faa5daabfd0e456f96cea55 --- diff --git a/globals.c b/globals.c index 5356319..053d1ee 100644 --- a/globals.c +++ b/globals.c @@ -74,7 +74,7 @@ GLfloat camx = 0.0, camy = 0.0, camz = 0.0, keyrot = 0.0; GLfloat factor = 1.0; /* Length of axis lines */ -GLfloat lineLength = 5; +GLfloat lineLength = 10; /* Light 0 parameters */ GLfloat diffuse0[]={1.0, 0.0, 0.0, 1.0}; diff --git a/scene.c b/scene.c index 4e4c5f5..1a53597 100644 --- a/scene.c +++ b/scene.c @@ -318,7 +318,7 @@ void display() { glLoadIdentity(); gluLookAt( - 0.0, 0.0, 5.0 + (zoom*zoomFactor), /* eye is at (x,y,z) */ + 0.0, 0.0, 15.0 + (zoom*zoomFactor), /* 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 */ );