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
15d8f9d
..
242a104
100644
(file)
--- a/
scene.c
+++ b/
scene.c
@@
-564,7
+564,7
@@
void drawFloor() {
// glEnable(GL_TEXTURE_2D);
\r
//}
\r
\r
// glEnable(GL_TEXTURE_2D);
\r
//}
\r
\r
- glBegin(GL_QUADS);
\r
+
/*
glBegin(GL_QUADS);
\r
glTexCoord2f(0.0, 0.0);
\r
glVertex3fv(floorVertices[0]);
\r
glTexCoord2f(0.0, 16.0);
\r
glTexCoord2f(0.0, 0.0);
\r
glVertex3fv(floorVertices[0]);
\r
glTexCoord2f(0.0, 16.0);
\r
@@
-573,7
+573,7
@@
void drawFloor() {
glVertex3fv(floorVertices[2]);
\r
glTexCoord2f(16.0, 0.0);
\r
glVertex3fv(floorVertices[3]);
\r
glVertex3fv(floorVertices[2]);
\r
glTexCoord2f(16.0, 0.0);
\r
glVertex3fv(floorVertices[3]);
\r
- glEnd();
\r
+ glEnd();
*/
\r
\r
/*if (useTexture) {
\r
glDisable(GL_TEXTURE_2D);
\r
\r
/*if (useTexture) {
\r
glDisable(GL_TEXTURE_2D);
\r
@@
-591,7
+591,7
@@
void display() {
gluLookAt(
\r
0.0, 0.0, 60.0, /* eye is at (x,y,z) */
\r
0.0, 0.0, 0.0, /* center is at (x,y,z) */
\r
gluLookAt(
\r
0.0, 0.0, 60.0, /* eye is at (x,y,z) */
\r
0.0, 0.0, 0.0, /* center is at (x,y,z) */
\r
- 0.0, 1.0, 0.0 /* up is in postivie Y direction */
\r
+ 0.0,
-
1.0, 0.0 /* up is in postivie Y direction */
\r
);
\r
\r
/* Reposition the light source. */
\r
);
\r
\r
/* Reposition the light source. */
\r
UCC
git Repository :: git.ucc.asn.au