From: Ash Tyndall Date: Fri, 21 Oct 2011 03:53:27 +0000 (+0800) Subject: (no commit message) X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=c9cb76d66ffd1deb1efa100398913934543e35c3;p=atyndall%2Fcits2231.git --- diff --git a/globals.c b/globals.c index 1714496..d01c1f5 100644 --- a/globals.c +++ b/globals.c @@ -81,9 +81,9 @@ float lightAngle0 = 0.0, lightHeight0 = 5; int lightMoving0 = 0, lightStartX0, lightStartY0; /* Light 1 parameters */ -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 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 direction1[] = {0.0, 0.0, 0.0}; GLfloat lightPosition1[4];