X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=blobdiff_plain;f=scene.c;h=d047289c60312a5b76858bfefab8f8f54bb37f0d;hp=376da69e3175186f4a4542407c335c951dadc4d3;hb=7fa1021e8712a2d60f4485dd60f73d99e9602bf2;hpb=529d53c44f59e91ed0b9321c0ddbeebb060631cf diff --git a/scene.c b/scene.c index 376da69..d047289 100644 --- a/scene.c +++ b/scene.c @@ -392,13 +392,13 @@ void display() { /* Reposition the light source 0. */ lightObjs[0].position[0] = 4; lightObjs[0].position[1] = 5; - lightObjs[0].position[2] = 5;//12*sin(0); + lightObjs[0].position[2] = 6;//12*sin(0); lightObjs[0].position[3] = 0.0; /* Reposition the light source 1. */ - lightObjs[1].position[0] = -6; + lightObjs[1].position[0] = -4; lightObjs[1].position[1] = 5; - lightObjs[1].position[2] = -5;//12*sin(90); + lightObjs[1].position[2] = -6;//12*sin(90); lightObjs[1].position[3] = 0.0; //direction0[0] = lightPosition0[0];