int drawFloorRecurse = 5;\r
\r
/* Size of floor, from -n to n */\r
-int floorSize = 100;\r
+int floorSize = 200;\r
\r
/* Light 0 parameters */\r
GLfloat diffuse0[] = {1.0, 1.0, 1.0, 1.0};\r
* Draw a floor by calling the drawSquare recursion\r
*/\r
void drawFloor() {\r
- //drawSquare(0, -floorSize, -floorSize, floorSize, floorSize);\r
- glBegin(GL_QUADS);\r
- glVertex3f(-18.0, 0.0, 27.0);\r
- glVertex3f(27.0, 0.0, 27.0);\r
- glVertex3f(27.0, 0.0, -18.0);\r
- glVertex3f(-18.0, 0.0, -18.0);\r
- glEnd();\r
+ drawSquare(0, -floorSize, -floorSize, floorSize, floorSize);\r
}\r
\r
/**\r