From 2e98919f0cc2e2334faa5daabfd0e456f96cea55 Mon Sep 17 00:00:00 2001 From: Ash Tyndall Date: Fri, 21 Oct 2011 11:13:08 +0800 Subject: [PATCH] --- globals.c | 2 +- scene.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 */ ); -- 2.20.1