git.ucc.asn.au
/
atyndall
/
cits2231.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(no commit message)
[atyndall/cits2231.git]
/
scene.c
diff --git
a/scene.c
b/scene.c
index
add2b73
..
40293a2
100644
(file)
--- a/
scene.c
+++ b/
scene.c
@@
-556,8
+556,7
@@
void display() {
drawFloor();
\r
glDisable(GL_BLEND);
\r
\r
drawFloor();
\r
glDisable(GL_BLEND);
\r
\r
- glPushMatrix();
\r
- glLoadIdentity();
\r
+ glPushMatrix();
\r
glColor3f(1.0, 0.0, 1.0);
\r
glTranslatef(-8.0, 0.0, -10.0);
\r
\r
glColor3f(1.0, 0.0, 1.0);
\r
glTranslatef(-8.0, 0.0, -10.0);
\r
\r
@@
-565,7
+564,6
@@
void display() {
glPopMatrix();
\r
\r
glPushMatrix();
\r
glPopMatrix();
\r
\r
glPushMatrix();
\r
- glLoadIdentity();
\r
glDisable(GL_LIGHTING);
\r
glColor3f(1.0, 1.0, 1.0);
\r
\r
glDisable(GL_LIGHTING);
\r
glColor3f(1.0, 1.0, 1.0);
\r
\r
UCC
git Repository :: git.ucc.asn.au