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:
9884255
)
(no commit message)
author
Ash Tyndall
<
[email protected]
>
Thu, 20 Oct 2011 13:00:28 +0000
(21:00 +0800)
committer
Ash Tyndall
<
[email protected]
>
Thu, 20 Oct 2011 13:00:28 +0000
(21:00 +0800)
scene.c
patch
|
blob
|
history
diff --git
a/scene.c
b/scene.c
index
ce9ed45
..
34a18e4
100644
(file)
--- a/
scene.c
+++ b/
scene.c
@@
-364,7
+364,7
@@
void init() {
glLoadIdentity();
\r
\r
// **NOTE: Needs tidy
\r
-
\r
+glEnable(GL_NORMALIZE);
\r
glLightfv(GL_LIGHT0, GL_POSITION, light0_pos);
\r
glLightfv(GL_LIGHT0, GL_AMBIENT, ambient0);
\r
glLightfv(GL_LIGHT0, GL_DIFFUSE, diffuse0);
\r
UCC
git Repository :: git.ucc.asn.au