(no commit message)
[atyndall/cits2231.git] / scene.c
diff --git a/scene.c b/scene.c
index 220d2e9..6f14e04 100644 (file)
--- a/scene.c
+++ b/scene.c
@@ -396,9 +396,9 @@ void display() {
   lightObjs[0].position[3] = 0.0;\r
 \r
   /* Reposition the light source 1. */\r
   lightObjs[0].position[3] = 0.0;\r
 \r
   /* Reposition the light source 1. */\r
-  lightObjs[1].position[0] = 9*cos(45 + 180);\r
+  lightObjs[1].position[0] = 9*cos(45 + 90);\r
   lightObjs[1].position[1] = 5;\r
   lightObjs[1].position[1] = 5;\r
-  lightObjs[1].position[2] = 9*sin(45 + 180);\r
+  lightObjs[1].position[2] = 9*sin(45 + 90);\r
   lightObjs[1].position[3] = 0.0;\r
 \r
   //direction0[0] = lightPosition0[0];\r
   lightObjs[1].position[3] = 0.0;\r
 \r
   //direction0[0] = lightPosition0[0];\r

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