From: Ash Tyndall Date: Thu, 20 Oct 2011 03:56:59 +0000 (+0800) Subject: (no commit message) X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=commitdiff_plain;h=0027386de971932f47120fee28fec24a64d101b6 --- diff --git a/globals.c b/globals.c index 03d2f6f..11b524d 100644 --- a/globals.c +++ b/globals.c @@ -60,8 +60,8 @@ GLfloat near = -15; GLfloat far = 15; /* Near and far clipping planes - calculates clipping planes */ -GLfloat nearClip = -200; -GLfloat farClip = 200; +GLfloat nearClip = -500; +GLfloat farClip = 500; /* Zoom factor for mouse movements */ GLfloat zoomFactor = 1.0; diff --git a/scene.c b/scene.c index 9c6d0c4..115e2f7 100644 --- a/scene.c +++ b/scene.c @@ -289,7 +289,7 @@ void display() { glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); glLoadIdentity(); gluLookAt( - 0.0, 0.0, 10.0, /* eye is at (x,y,z) */ + 0.0, 0.0, 30.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 */ );