|  | 
| Polygon Details 
Polygons may be drawn as solid, outlines, points, or stipped 
patterns, similiar to lines
 
 void glPolygonMode(GLenum face, GLenum mode); Controls
the drawing mode for a polygon's front and back faces. The parameter face
can be GL_FRONT_AND_BACK, GL_FRONT, or GL_BACK; mode can be GL_POINT, GL_LINE,
or GL_FILL to indicate whether the polygon should be drawn as points, outlined,
or filled. 
 
By default, both the front and back faces are drawn filled.
For example, you can have the front faces filled and the back faces outlined
with two calls to this routine: glPolygonMode(GL_FRONT, GL_FILL); glPolygonMode(GL_BACK,
GL_LINE);
 
 
 |  
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
   |