From 92fbf793e39627632747a84aeaf9653e13fdb8e3 Mon Sep 17 00:00:00 2001 From: Ash Tyndall Date: Fri, 21 Oct 2011 11:37:56 +0800 Subject: [PATCH] --- scene.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scene.c b/scene.c index 19d74af..8489282 100644 --- a/scene.c +++ b/scene.c @@ -370,18 +370,18 @@ void display() { // Draw a white ball over the light source glPushMatrix(); glDisable(GL_LIGHTING); - glColor3f(1.0, 1.0, 0.0); + glColor3f(0.0, 0.0, 0.0); glTranslatef(lightPosition0[0], lightPosition0[1], lightPosition0[2]); - glutSolidSphere(1.0, 50, 50); + glutSolidSphere(0.3, 50, 50); glEnable(GL_LIGHTING); glPopMatrix(); // Draw a white ball over the light source glPushMatrix(); glDisable(GL_LIGHTING); - glColor3f(1.0, 1.0, 0.0); + glColor3f(0.0, 0.0, 0.0); glTranslatef(lightPosition1[0], lightPosition1[1], lightPosition1[2]); - glutSolidSphere(1.0, 50, 50); + glutSolidSphere(0.3, 50, 50); glEnable(GL_LIGHTING); glPopMatrix(); -- 2.20.1