Prev: | Specifying vertices |
Next: | Modeling transformations |
GL_POINTS | individual points |
GL_LINES | pairs of vertices interpreted as individual line segments |
GL_LINE_STRIP | series of connected line segments |
GL_LINE_LOOP | same as above, with a segment added between last and first vertices |
GL_TRIANGLES | triples of vertices interpreted as triangles |
GL_TRIANGLE_STRIP | linked strip of triangles |
GL_TRIANGLE_FAN | linked fan of triangles |
GL_QUADS | quadruples of vertices interpreted as four-sided polygons |
GL_QUAD_STRIP | linked strip of quadrilaterals |
GL_POLYGON | boundary of a simple, convex polygon |