From 9621f7294b73aa8f7d8e6ca9227810cb79be1c92 Mon Sep 17 00:00:00 2001 From: Ash Tyndall Date: Tue, 18 Oct 2011 20:23:52 +0800 Subject: [PATCH 1/1] --- scene.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scene.c b/scene.c index a74a6df..d37b0f0 100644 --- a/scene.c +++ b/scene.c @@ -125,7 +125,7 @@ int lightMoving = 0, lightStartX, lightStartY; /* Time varying or user-controled variables. */ static float jump = 0.0; -static float lightAngle = 0.0, lightHeight = 40; +static float lightAngle = 0.0, lightHeight = 5; GLfloat angle = -150; /* in degrees */ GLfloat angle2 = 30; /* in degrees */ @@ -613,7 +613,7 @@ void display() { glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); glLoadIdentity(); gluLookAt( - 0.0, 0.0, 80.0, /* eye is at (x,y,z) */ + 0.0, 0.0, 10.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 */ ); -- 2.20.1