char dataDir[200]; // Stores the directory name for the meshes and textures.\r
\r
static GLfloat floorVertices[4][3] = {\r
- { -20.0, 0.0, 20.0 },\r
- { 20.0, 0.0, 20.0 },\r
- { 20.0, 0.0, -20.0 },\r
- { -20.0, 0.0, -20.0 },\r
+ { -1000.0, 0.0, 1000.0 },\r
+ { 1000.0, 0.0, 1000.0 },\r
+ { 1000.0, 0.0, -1000.0 },\r
+ { -1000.0, 0.0, -1000.0 },\r
};\r
\r
static GLfloat lightColor[] = {1.0, 1.0, 1.0, 1.0}; // White light\r
//}\r
\r
glBegin(GL_QUADS);\r
- glTexCoord2f(0.0, 0.0);\r
+ //glTexCoord2f(0.0, 0.0);\r
glVertex3fv(floorVertices[0]);\r
- glTexCoord2f(0.0, 16.0);\r
+ //glTexCoord2f(0.0, 16.0);\r
glVertex3fv(floorVertices[1]);\r
- glTexCoord2f(16.0, 16.0);\r
+ //glTexCoord2f(16.0, 16.0);\r
glVertex3fv(floorVertices[2]);\r
- glTexCoord2f(16.0, 0.0);\r
+ //glTexCoord2f(16.0, 0.0);\r
glVertex3fv(floorVertices[3]);\r
glEnd();\r
\r