From 529d53c44f59e91ed0b9321c0ddbeebb060631cf Mon Sep 17 00:00:00 2001 From: Ash Tyndall Date: Sat, 22 Oct 2011 15:00:46 +0800 Subject: [PATCH] --- scene.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scene.c b/scene.c index 0820aec..376da69 100644 --- a/scene.c +++ b/scene.c @@ -390,13 +390,13 @@ void display() { glRotatef(camAngle*camAngleFactor, 1.0, 0.0, 0.0); // Set camera angle upward /* Reposition the light source 0. */ - lightObjs[0].position[0] = 5; + lightObjs[0].position[0] = 4; lightObjs[0].position[1] = 5; lightObjs[0].position[2] = 5;//12*sin(0); lightObjs[0].position[3] = 0.0; /* Reposition the light source 1. */ - lightObjs[1].position[0] = -5; + lightObjs[1].position[0] = -6; lightObjs[1].position[1] = 5; lightObjs[1].position[2] = -5;//12*sin(90); lightObjs[1].position[3] = 0.0; -- 2.20.1