(no commit message)
[atyndall/cits2231.git] / globals.c
index 237e399..1714496 100644 (file)
--- a/globals.c
+++ b/globals.c
@@ -75,19 +75,17 @@ GLfloat ambient0[]={1.0, 0.0, 0.0, 1.0};
 GLfloat specular0[]={1.0, 0.0, 0.0, 1.0};
 GLfloat direction0[] = {0.0, 0.0, 0.0};
 
-GLfloat lightColor0[] = {1.0, 1.0, 1.0, 1.0}; // White light
 GLfloat lightPosition0[4];
 
 float lightAngle0 = 0.0, lightHeight0 = 5;
 int lightMoving0 = 0, lightStartX0, lightStartY0;
 
 /* Light 1 parameters */
-GLfloat diffuse1[]={1.0, 0.0, 0.0, 1.0};
-GLfloat ambient1[]={1.0, 0.0, 0.0, 1.0};
-GLfloat specular1[]={1.0, 0.0, 0.0, 1.0};
+GLfloat diffuse1[]={1.0, 1.0, 0.0, 1.0};
+GLfloat ambient1[]={1.0, 1.0, 0.0, 1.0};
+GLfloat specular1[]={1.0, 1.0, 0.0, 1.0};
 GLfloat direction1[] = {0.0, 0.0, 0.0};
 
-GLfloat lightColor1[] = {1.0, 1.0, 1.0, 1.0}; // White light
 GLfloat lightPosition1[4];
 
 float lightAngle1 = 360.0, lightHeight1 = 5;

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