### 5.8.2 A Brief Description of Geometrical Primitives

- `EZ_TRIANGLE_STRIP` A triangle strip is series of triangles connected along shared edges. It is defined by a series of vertices. The first three vertices define the first triangle. Each subsequent vertex defines a new triangle using that vertex along with two vertices from the previous triangle. For example, if are the vertices specified between the `EZ_Begin(EZ_TRIANGLE_STRIP)` and `EZ_End()`, then it defines three triangles, , and .

- `EZ_TRIANGLE_FAN` A triangle fan is a series of triangles share all share the same first vertex. For example, if are the vertices specified between the `EZ_Begin(EZ_TRIANGLE_FAN)` and `EZ_End()`, then it defines three triangles, , and .

- `EZ_TRIANGLES` This primitive specifies a series of individual triangles. The triangles does not share vertices. For example, if are the vertices between the `EZ_Begin(EZ_TRIANGLES)` and `EZ_End()`, then it defines two triangles, and .

- `EZ_QUAD_STRIP` This primitive specifies a quadrilateral strip, a series of edge-sharing quadrilaterals. The first 4 vertices define the first quad. Each subsequent two vertices define a new quad using the last two vertices and the two new vertices, with the order of the two new vertices swapped. For example, the sequence define three quads: , and .

- `EZ_QUADS` This primitive specifies a series of individual quads. The quads do not share vertices. For example, the sequence define two quads: and .

- `EZ_LINE_STRIP` This primitive defines a polyline.

- `EZ_LINES` This primitive defines a series of line segments. For example, the sequence define three line segments, , and .

- `EZ_LINE_LOOP` This primitive defines a closed polyline. It is the same as `EZ_LINE_STRIP` with the first vertex appended to the list of specified vertices.

- `EZ_POINTS` This primitive specifies a sequence of points.

HTML Documentation Maintainance:`Arturo Espinosa <arturo@nuclecu.unam.mx>`