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:
6fbc798
)
(no commit message)
author
Ash Tyndall
<
[email protected]
>
Tue, 18 Oct 2011 12:41:08 +0000
(20:41 +0800)
committer
Ash Tyndall
<
[email protected]
>
Tue, 18 Oct 2011 12:41:08 +0000
(20:41 +0800)
scene.c
patch
|
blob
|
history
diff --git
a/scene.c
b/scene.c
index
1bafde5
..
e3004ee
100644
(file)
--- a/
scene.c
+++ b/
scene.c
@@
-675,9
+675,9
@@
void init() {
);
\r
\r
\r
-GLfloat diffuse0[] = {1.0,
0.0, 0
.0, 1.0};
\r
-GLfloat ambient0[] = {1.0,
0.0, 0
.0, 1.0};
\r
-GLfloat specular0[] = {1.0,
0.0, 0
.0, 1.0};
\r
+GLfloat diffuse0[] = {1.0,
1.0, 1
.0, 1.0};
\r
+GLfloat ambient0[] = {1.0,
1.0, 1
.0, 1.0};
\r
+GLfloat specular0[] = {1.0,
1.0, 1
.0, 1.0};
\r
GLfloat light0_pos[] ={ 1.0, 2.0, 3,0, 1.0};
\r
\r
glEnable(GL_LIGHT0);
\r
UCC
git Repository :: git.ucc.asn.au