X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=blobdiff_plain;f=scene.c;h=242a10482f0cfae27c4c01f2bda37e7f38bf4100;hp=15d8f9d21f72a56850bbea24dca2c929fae485de;hb=fbcff5fdddb4380b77f5cc4eb8a9419266fc1355;hpb=712b188c189ec9aca2ee5ff59b31abced5ce46f3 diff --git a/scene.c b/scene.c index 15d8f9d..242a104 100644 --- a/scene.c +++ b/scene.c @@ -564,7 +564,7 @@ void drawFloor() { // glEnable(GL_TEXTURE_2D); //} - glBegin(GL_QUADS); + /*glBegin(GL_QUADS); glTexCoord2f(0.0, 0.0); glVertex3fv(floorVertices[0]); glTexCoord2f(0.0, 16.0); @@ -573,7 +573,7 @@ void drawFloor() { glVertex3fv(floorVertices[2]); glTexCoord2f(16.0, 0.0); glVertex3fv(floorVertices[3]); - glEnd(); + glEnd();*/ /*if (useTexture) { glDisable(GL_TEXTURE_2D); @@ -591,7 +591,7 @@ void display() { gluLookAt( 0.0, 0.0, 60.0, /* eye is at (x,y,z) */ 0.0, 0.0, 0.0, /* center is at (x,y,z) */ - 0.0, 1.0, 0.0 /* up is in postivie Y direction */ + 0.0, -1.0, 0.0 /* up is in postivie Y direction */ ); /* Reposition the light source. */