(no commit message)
authorAsh Tyndall <[email protected]>
Tue, 18 Oct 2011 12:13:02 +0000 (20:13 +0800)
committerAsh Tyndall <[email protected]>
Tue, 18 Oct 2011 12:13:02 +0000 (20:13 +0800)
scene.c

diff --git a/scene.c b/scene.c
index 73e04ee..72ce8d3 100644 (file)
--- a/scene.c
+++ b/scene.c
@@ -593,30 +593,13 @@ void drawSquare(int recurseLevel, float x1, float y1, float x2, float y2) {
  * Draw a floor.\r
  */\r
 void drawFloor() {\r
-  glDisable(GL_LIGHTING);\r
-\r
-  //if (useTexture) {\r
-  //  glEnable(GL_TEXTURE_2D);\r
-  //}\r
-\r
-  /*glBegin(GL_QUADS);\r
-    glTexCoord2f(0.0, 0.0);\r
-    glVertex3fv(floorVertices[0]);\r
-    glTexCoord2f(0.0, 16.0);\r
-    glVertex3fv(floorVertices[1]);\r
-    glTexCoord2f(16.0, 16.0);\r
-    glVertex3fv(floorVertices[2]);\r
-    glTexCoord2f(16.0, 0.0);\r
-    glVertex3fv(floorVertices[3]);\r
-  glEnd();*/\r
-\r
\r
 drawSquare(0, -1000.0, -1000.0, 1000.0, 1000.0);\r
 \r
   /*if (useTexture) {\r
     glDisable(GL_TEXTURE_2D);\r
   }*/\r
 \r
-  glEnable(GL_LIGHTING);\r
 }\r
 \r
 /*void drawSquare(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2) {\r

UCC git Repository :: git.ucc.asn.au