*/\r
void drawFloor() {\r
\r
-drawSquare(0, -1000.0, -1000.0, 1000.0, 1000.0);\r
+drawSquare(0, -100.0, -100.0, 100.0, 100.0);\r
\r
/*if (useTexture) {\r
glDisable(GL_TEXTURE_2D);\r
\r
/* Draw a yellow ball at the light source. */\r
glTranslatef(lightPosition[0], lightPosition[1], lightPosition[2]);\r
- glutSolidSphere(1.0, 5, 5);\r
+ glutSolidSphere(1.0, 50, 50);\r
\r
glEnable(GL_LIGHTING);\r
glPopMatrix();\r
glClearDepth(1.0f); // Depth Buffer Setup\r
glEnable(GL_DEPTH_TEST); // Enables Depth Testing\r
glDepthFunc(GL_LEQUAL); // the type\r
- glEnable(GL_CULL_FACE);\r
+ //glEnable(GL_CULL_FACE);\r
glEnable(GL_TEXTURE_2D);\r
glLineWidth(1.0);\r
\r