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:
e1fc70a
)
(no commit message)
author
Ash Tyndall
<
[email protected]
>
Tue, 18 Oct 2011 13:03:14 +0000
(21:03 +0800)
committer
Ash Tyndall
<
[email protected]
>
Tue, 18 Oct 2011 13:03:14 +0000
(21:03 +0800)
scene.c
patch
|
blob
|
history
diff --git
a/scene.c
b/scene.c
index
b4469b7
..
e1b053f
100644
(file)
--- a/
scene.c
+++ b/
scene.c
@@
-626,14
+626,11
@@
void display() {
\r
/* Perform scene rotations based on user mouse input. */
\r
glRotatef(angle, 0.0, 1.0, 0.0);
\r
- glRotatef(angle2, 1.0, 0.0, 0.0);
\r
+ //glRotatef(angle2, 1.0, 0.0, 0.0); **NOTE: Only one degree of freedom
\r
\r
glLightfv(GL_LIGHT0, GL_POSITION, lightPosition);
\r
\r
- glEnable(GL_BLEND);
\r
- glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
\r
drawFloor();
\r
- glDisable(GL_BLEND);
\r
\r
glPushMatrix();
\r
\r
UCC
git Repository :: git.ucc.asn.au