From: Ash Tyndall Date: Sat, 22 Oct 2011 06:54:56 +0000 (+0800) Subject: (no commit message) X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=commitdiff_plain;h=c0a7d47747d64224155ad5ee706baba742aff1b1 --- diff --git a/scene.c b/scene.c index 220d2e9..6f14e04 100644 --- a/scene.c +++ b/scene.c @@ -396,9 +396,9 @@ void display() { lightObjs[0].position[3] = 0.0; /* Reposition the light source 1. */ - lightObjs[1].position[0] = 9*cos(45 + 180); + lightObjs[1].position[0] = 9*cos(45 + 90); lightObjs[1].position[1] = 5; - lightObjs[1].position[2] = 9*sin(45 + 180); + lightObjs[1].position[2] = 9*sin(45 + 90); lightObjs[1].position[3] = 0.0; //direction0[0] = lightPosition0[0];