From: Ash Tyndall Date: Sat, 22 Oct 2011 06:59:25 +0000 (+0800) Subject: (no commit message) X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=a426259db2f0953878dd443d93ec9fc885a5abfd;p=atyndall%2Fcits2231.git --- diff --git a/scene.c b/scene.c index 3d435fb..03f9816 100644 --- a/scene.c +++ b/scene.c @@ -390,7 +390,7 @@ void display() { glRotatef(camAngle*camAngleFactor, 1.0, 0.0, 0.0); // Set camera angle upward /* Reposition the light source 0. */ - lightObjs[0].position[0] = 12*cos(0); + lightObjs[0].position[0] = cos(45); lightObjs[0].position[1] = 5; lightObjs[0].position[2] = 0;//12*sin(0); lightObjs[0].position[3] = 0.0;