*fishList = glGenLists(1);
glNewList(*fishList, GL_COMPILE);
+#if 0
gluSphere(Quadratic, 2.0, 10, 5);
gluCylinder(Quadratic, 2.0, 0.0, 10.0, 10, 5);
+#else
+ gluSphere(Quadratic, 2.0, 3, 2);
+ gluCylinder(Quadratic, 2.0, 0.0, 10.0, 3, 2);
+#endif
glEndList();
}
void
initGLEnv(Bool doFog)
{
- GLfloat spc[4] = {1.0, 1.0, 1.0, 1.0};
+ GLfloat spc[4] = {1.0, 1.0, 1.0, 1.0};
- glClearColor(0.0, 0.0, 0.0, 0.0);
glClearDepth(1.0);
glDepthFunc(GL_LESS);