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:
f0ca91a
)
(no commit message)
author
Ash Tyndall
<
[email protected]
>
Thu, 20 Oct 2011 12:58:01 +0000
(20:58 +0800)
committer
Ash Tyndall
<
[email protected]
>
Thu, 20 Oct 2011 12:58:01 +0000
(20:58 +0800)
scene.c
patch
|
blob
|
history
diff --git
a/scene.c
b/scene.c
index
8982882
..
ce9ed45
100644
(file)
--- a/
scene.c
+++ b/
scene.c
@@
-371,7
+371,7
@@
void init() {
glLightfv(GL_LIGHT0, GL_SPECULAR, specular0);
\r
GLfloat direction0[] = {0.0, 0.0, 0.0};
\r
glLightfv(GL_LIGHT0, GL_SPOT_DIRECTION, direction0);
\r
- glLightf(GL_LIGHT0, GL_SPOT_CUTOFF,
6
0.0);
\r
+ glLightf(GL_LIGHT0, GL_SPOT_CUTOFF,
9
0.0);
\r
glLightModelfv(GL_LIGHT_MODEL_AMBIENT, glightmodel);
\r
\r
GLfloat ambient[] = {0.2, 0.2, 0.2, 1.0};
\r
UCC
git Repository :: git.ucc.asn.au