git.ucc.asn.au
/
atyndall
/
cits2231.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(no commit message)
[atyndall/cits2231.git]
/
scene.c
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
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
\r
glLightfv(GL_LIGHT1, GL_AMBIENT, ambient1);
\r
glLightfv(GL_LIGHT1, GL_DIFFUSE, diffuse1);
\r
UCC
git Repository :: git.ucc.asn.au