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:
c478573
)
(no commit message)
author
Ash Tyndall
<
[email protected]
>
Tue, 18 Oct 2011 07:38:40 +0000
(15:38 +0800)
committer
Ash Tyndall
<
[email protected]
>
Tue, 18 Oct 2011 07:38:40 +0000
(15:38 +0800)
scene.c
patch
|
blob
|
history
diff --git
a/scene.c
b/scene.c
index
89153a3
..
10c0bde
100644
(file)
--- a/
scene.c
+++ b/
scene.c
@@
-556,15
+556,11
@@
void display() {
drawFloor();
\r
glDisable(GL_BLEND);
\r
\r
- glPushMatrix();
\r
- glDisable(GL_LIGHTING);
\r
-
\r
+ glPushMatrix();
\r
glColor3f(1.0, 0.0, 1.0);
\r
- glTranslatef(-8
,
0, -10.0);
\r
+ glTranslatef(-8
.0, 0.
0, -10.0);
\r
\r
- glutSolidTeapot(1); // Draw teapot for test
\r
-
\r
- glEnable(GL_LIGHTING);
\r
+ glutSolidTeapot(0.5); // Draw teapot for test
\r
glPopMatrix();
\r
\r
glPushMatrix();
\r
UCC
git Repository :: git.ucc.asn.au