From: Ash Tyndall Date: Sat, 22 Oct 2011 07:00:46 +0000 (+0800) Subject: (no commit message) X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=commitdiff_plain;h=529d53c44f59e91ed0b9321c0ddbeebb060631cf;hp=cea3bae600d38602aa6d06fe3d751c8d857e1445 --- 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;