How does glPolygonMode work?glPolygonMode
can change the way polygons (triangles) are rasterised. One can render the triangles as points,
lines, or filled.
Syntax is void glPolygonMode(Glenum face,
- face can be GL_FRONT, GL_BACK, or
- mode can
GL_LINE, or GL_FILL
is a state variable (once set, it affects everything that follows)