OpenGL Geometry

OpenGL includes functions to draw points, lines, and polygons.

All other shapes are made up of these elements.

A basic shape is entirely described by its vertices, which are connected by straight edges.

The graphics hardware fills in all the necessary pixels.