- glTranslatef(0.0, 1.0, 0.0); // **NOTE: Teapot does not rest on surface\r
- glColor3f(0.5, 0.5, 0.5);\r
- glutSolidTeapot(25);\r
+ glTranslatef(0.0, 0.5, 0.0); // **NOTE: Teapot currently does not rest on surface\r
+ glColor3f(0.0, 0.0, 0.0);\r
+ glFrontFace(GL_CW); // The teapot does not obey the right-hand rule\r
+ glutSolidTeapot(1);\r
+ glFrontFace(GL_CCW);\r
+ glPopMatrix();\r
+\r
+ // Draw a white ball over the light source\r
+ glPushMatrix();\r
+ glDisable(GL_LIGHTING);\r
+ glColor3f(1.0, 1.0, 1.0);\r
+ glTranslatef(lightPosition0[0], lightPosition0[1], lightPosition0[2]);\r
+ glutSolidSphere(0.5, 50, 50);\r
+ glEnable(GL_LIGHTING);\r