(no commit message)
[atyndall/cits2231.git] / scene.c
diff --git a/scene.c b/scene.c
index 3d435fb..03f9816 100644 (file)
--- 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\r
 \r
   /* Reposition the light source 0. */\r
   glRotatef(camAngle*camAngleFactor, 1.0, 0.0, 0.0); // Set camera angle upward\r
 \r
   /* Reposition the light source 0. */\r
-  lightObjs[0].position[0] = 12*cos(0);\r
+  lightObjs[0].position[0] = cos(45);\r
   lightObjs[0].position[1] = 5;\r
   lightObjs[0].position[2] = 0;//12*sin(0);\r
   lightObjs[0].position[3] = 0.0;\r
   lightObjs[0].position[1] = 5;\r
   lightObjs[0].position[2] = 0;//12*sin(0);\r
   lightObjs[0].position[3] = 0.0;\r

UCC git Repository :: git.ucc.asn.au