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
..
3d5583f
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
@@
-616,7
+616,7
@@
void display() {
\r
//glTranslatef(0.0, 0.0, 0.0);
\r
\r
\r
//glTranslatef(0.0, 0.0, 0.0);
\r
\r
- glut
Solid
Teapot(30); // Draw teapot for test
\r
+ glut
Wire
Teapot(30); // Draw teapot for test
\r
glPopMatrix();
\r
\r
glPushMatrix();
\r
glPopMatrix();
\r
\r
glPushMatrix();
\r
UCC
git Repository :: git.ucc.asn.au