Contents / Previous / Next


Geometric Lines Primitves



Value Meaning
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

Instead of drawing lines between pairs of points, we can use also the set of primitives for drawing polygons.