From: Ash Tyndall Date: Fri, 21 Oct 2011 09:25:17 +0000 (+0800) Subject: (no commit message) X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=a7a7e453a0b33ef33e21f3be42a0baa5e408bdbc;p=atyndall%2Fcits2231.git --- diff --git a/globals.c b/globals.c index a12130d..6b3720d 100644 --- a/globals.c +++ b/globals.c @@ -60,9 +60,9 @@ GLfloat factor = 1.0; GLfloat lineLength = 10; /* Light 0 parameters */ -GLfloat diffuse0[]={1.0, 0.0, 0.0, 0.1}; -GLfloat ambient0[]={1.0, 0.0, 0.0, 0.1}; -GLfloat specular0[]={1.0, 0.0, 0.0, 0.1}; +GLfloat diffuse0[]={1.0, 1.0, 1.0, 0.1}; +GLfloat ambient0[]={1.0, 1.0, 1.0, 0.1}; +GLfloat specular0[]={1.0, 1.0, 1.0, 0.1}; GLfloat direction0[] = {0.0, 0.0, 0.0}; GLfloat lightPosition0[4]; @@ -71,9 +71,9 @@ float lightAngle0 = 0.0, lightHeight0 = 5; int lightMoving0 = 0, lightStartX0, lightStartY0; /* Light 1 parameters */ -GLfloat diffuse1[]={0.0, 1.0, 0.0, 1.0}; -GLfloat ambient1[]={0.0, 1.0, 0.0, 1.0}; -GLfloat specular1[]={0.0, 1.0, 0.0, 1.0}; +GLfloat diffuse1[]={1.0, 1.0, 1.0, 1.0}; +GLfloat ambient1[]={1.0, 1.0, 1.0, 1.0}; +GLfloat specular1[]={1.0, 1.0, 1.0, 1.0}; GLfloat direction1[] = {0.0, 0.0, 0.0}; GLfloat lightPosition1[4];