git.ucc.asn.au
/
atyndall
/
cits2231.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6b6861
)
(no commit message)
author
Ash Tyndall
<
[email protected]
>
Sat, 22 Oct 2011 07:22:59 +0000
(15:22 +0800)
committer
Ash Tyndall
<
[email protected]
>
Sat, 22 Oct 2011 07:22:59 +0000
(15:22 +0800)
helper.c
patch
|
blob
|
history
diff --git
a/helper.c
b/helper.c
index
e933bb1
..
34667ec
100644
(file)
--- 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();
}
UCC
git Repository :: git.ucc.asn.au