From: Ash Tyndall Date: Sat, 22 Oct 2011 07:00:12 +0000 (+0800) Subject: (no commit message) X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=cea3bae600d38602aa6d06fe3d751c8d857e1445;p=atyndall%2Fcits2231.git --- diff --git a/scene.c b/scene.c index fb50b44..0820aec 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] = 12*cos(90); + lightObjs[1].position[0] = -5; lightObjs[1].position[1] = 5; - lightObjs[1].position[2] = 0;//12*sin(90); + lightObjs[1].position[2] = -5;//12*sin(90); lightObjs[1].position[3] = 0.0; //direction0[0] = lightPosition0[0];