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:
374222a
)
(no commit message)
author
Ash Tyndall
<
[email protected]
>
Tue, 18 Oct 2011 03:50:41 +0000
(11:50 +0800)
committer
Ash Tyndall
<
[email protected]
>
Tue, 18 Oct 2011 03:50:41 +0000
(11:50 +0800)
scene.c
patch
|
blob
|
history
diff --git
a/scene.c
b/scene.c
index
042d0db
..
c9ec127
100644
(file)
--- a/
scene.c
+++ b/
scene.c
@@
-575,8
+575,6
@@
void display() {
\r
glEnable(GL_BLEND);
\r
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
\r
\r
glEnable(GL_BLEND);
\r
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
\r
- glColor4f(0.7, 0.0, 0.0, 0.3);
\r
- glColor4f(1.0, 1.0, 1.0, 0.3);
\r
drawFloor();
\r
glDisable(GL_BLEND);
\r
\r
drawFloor();
\r
glDisable(GL_BLEND);
\r
\r
@@
-654,7
+652,7
@@
glMatrixMode(GL_PROJECTION);
/* aspect ratio */ 1.0,
\r
/* Z near */ 20.0, /* Z far */ 100.0);
\r
glMatrixMode(GL_MODELVIEW);
\r
/* aspect ratio */ 1.0,
\r
/* Z near */ 20.0, /* Z far */ 100.0);
\r
glMatrixMode(GL_MODELVIEW);
\r
- gluLookAt(0.0, 8.0,
8
0.0, /* eye is at (0,8,60) */
\r
+ gluLookAt(0.0, 8.0,
6
0.0, /* eye is at (0,8,60) */
\r
0.0, 8.0, 0.0, /* center is at (0,8,0) */
\r
0.0, 1.0, 0.); /* up is in postivie Y direction */
\r
\r
0.0, 8.0, 0.0, /* center is at (0,8,0) */
\r
0.0, 1.0, 0.); /* up is in postivie Y direction */
\r
\r
UCC
git Repository :: git.ucc.asn.au