(no commit message)
authorAsh Tyndall <[email protected]>
Sat, 22 Oct 2011 06:57:39 +0000 (14:57 +0800)
committerAsh Tyndall <[email protected]>
Sat, 22 Oct 2011 06:57:39 +0000 (14:57 +0800)
scene.c

diff --git a/scene.c b/scene.c
index 19aeee9..3d435fb 100644 (file)
--- a/scene.c
+++ b/scene.c
@@ -390,15 +390,15 @@ void display() {
   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] = 9*cos(0);\r
+  lightObjs[0].position[0] = 12*cos(0);\r
   lightObjs[0].position[1] = 5;\r
-  lightObjs[0].position[2] = 9*sin(0);\r
+  lightObjs[0].position[2] = 0;//12*sin(0);\r
   lightObjs[0].position[3] = 0.0;\r
 \r
   /* Reposition the light source 1. */\r
-  lightObjs[1].position[0] = 9*cos(90);\r
+  lightObjs[1].position[0] = 12*cos(90);\r
   lightObjs[1].position[1] = 5;\r
-  lightObjs[1].position[2] = 9*sin(90);\r
+  lightObjs[1].position[2] = 0;//12*sin(90);\r
   lightObjs[1].position[3] = 0.0;\r
 \r
   //direction0[0] = lightPosition0[0];\r

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