From 532e038314bb33ff16314812c33f9549b449e4a0 Mon Sep 17 00:00:00 2001 From: Ash Tyndall Date: Sat, 22 Oct 2011 14:59:51 +0800 Subject: [PATCH 1/1] --- scene.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scene.c b/scene.c index 03f9816..fb50b44 100644 --- a/scene.c +++ b/scene.c @@ -390,9 +390,9 @@ void display() { glRotatef(camAngle*camAngleFactor, 1.0, 0.0, 0.0); // Set camera angle upward /* Reposition the light source 0. */ - lightObjs[0].position[0] = cos(45); + lightObjs[0].position[0] = 5; lightObjs[0].position[1] = 5; - lightObjs[0].position[2] = 0;//12*sin(0); + lightObjs[0].position[2] = 5;//12*sin(0); lightObjs[0].position[3] = 0.0; /* Reposition the light source 1. */ -- 2.20.1