OpenGL geometric primitives
Factor handbook » UI framework » Implementing new gadgets » Customizing gadget appearance » Implementing custom drawing logic » OpenGL utility words » OpenGL binding

Prev:Specifying vertices
Next:Modeling transformations


GL_POINTSindividual points
GL_LINESpairs of vertices interpreted as individual line segments
GL_LINE_STRIPseries of connected line segments
GL_LINE_LOOPsame as above, with a segment added between last and first vertices
GL_TRIANGLEStriples of vertices interpreted as triangles
GL_TRIANGLE_STRIPlinked strip of triangles
GL_TRIANGLE_FANlinked fan of triangles
GL_QUADSquadruples of vertices interpreted as four-sided polygons
GL_QUAD_STRIPlinked strip of quadrilaterals
GL_POLYGONboundary of a simple, convex polygon