X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=blobdiff_plain;f=helper.c;h=34667ecfdf965887333e25c4784e49fe874c2601;hp=e933bb1b5366714822c908c5b10318828d47d1c2;hb=f060b203a10568807bc3810b28628d28df8d74e4;hpb=c6b68616d4ad34fd3efc0bc6435685aa3a69debb diff --git a/helper.c b/helper.c index e933bb1..34667ec 100644 --- a/helper.c +++ b/helper.c @@ -355,11 +355,9 @@ void updateLights() { // Draw light ball for light glPushMatrix(); - glColor3f(1.0, 1.0, 1.0); + glColor3f(0.0, 1.0, 1.0); glTranslatef(lightObjs[i].position[0], lightObjs[i].position[1], lightObjs[i].position[2]); - glPushAttrib(GL_NORMALIZE); - glutSolidSphere(lightBallSize, 20, 20); - glPopAttrib() ; + glutSolidSphere(lightBallSize, 20, 20);; glPopMatrix(); }