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:
a850337
)
(no commit message)
author
Ash Tyndall
<
[email protected]
>
Fri, 21 Oct 2011 07:59:01 +0000
(15:59 +0800)
committer
Ash Tyndall
<
[email protected]
>
Fri, 21 Oct 2011 07:59:01 +0000
(15:59 +0800)
scene.c
patch
|
blob
|
history
diff --git
a/scene.c
b/scene.c
index
2141f14
..
b403748
100644
(file)
--- a/
scene.c
+++ b/
scene.c
@@
-407,7
+407,7
@@
void init() {
glLightfv(GL_LIGHT0, GL_SPOT_DIRECTION, direction0);
\r
\r
glLightf(GL_LIGHT0, GL_SPOT_CUTOFF, 90.0);
\r
- glLightf(GL_LIGHT0, GL_SPOT_EXPONENT, 1);
\r
+
//
glLightf(GL_LIGHT0, GL_SPOT_EXPONENT, 1);
\r
\r
glLightfv(GL_LIGHT1, GL_AMBIENT, ambient1);
\r
glLightfv(GL_LIGHT1, GL_DIFFUSE, diffuse1);
\r
UCC
git Repository :: git.ucc.asn.au