glDepthFunc(GL_LEQUAL); // the type\r
glEnable(GL_CULL_FACE);\r
glEnable(GL_TEXTURE_2D);\r
glDepthFunc(GL_LEQUAL); // the type\r
glEnable(GL_CULL_FACE);\r
glEnable(GL_TEXTURE_2D);\r
glLineWidth(1.0);\r
\r
glMatrixMode(GL_PROJECTION);\r
gluPerspective(\r
40.0, /* field of view in degree */\r
1.0, /* aspect ratio */\r
glLineWidth(1.0);\r
\r
glMatrixMode(GL_PROJECTION);\r
gluPerspective(\r
40.0, /* field of view in degree */\r
1.0, /* aspect ratio */\r