From a426259db2f0953878dd443d93ec9fc885a5abfd Mon Sep 17 00:00:00 2001 From: Ash Tyndall Date: Sat, 22 Oct 2011 14:59:25 +0800 Subject: [PATCH] --- scene.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.20.1