libOGC
1.0

Collection of primitive types that can be drawn by the GP. More...
Macros  
#define  GX_LINES 0xA8 
#define  GX_LINESTRIP 0xB0 
#define  GX_POINTS 0xB8 
#define  GX_QUADS 0x80 
#define  GX_TRIANGLEFAN 0xA0 
#define  GX_TRIANGLES 0x90 
#define  GX_TRIANGLESTRIP 0x98 
Collection of primitive types that can be drawn by the GP.
#define GX_LINES 0xA8 
Draws a series of unconnected line segments. Each pair of vertices makes a line.
#define GX_LINESTRIP 0xB0 
Draws a series of lines. Each vertex (besides the first) makes a line between it and the previous.
#define GX_POINTS 0xB8 
Draws a series of points. Each vertex is a single point.
#define GX_QUADS 0x80 
Draws a series of unconnected quads. Every four vertices completes a quad. Internally, each quad is translated into a pair of triangles.
#define GX_TRIANGLEFAN 0xA0 
Draws a single triangle fan. The first vertex is the "centerpoint". The second and third vertex complete the first triangle. Each subsequent vertex completes another triangle which shares a side with the previous triangle (except the first triangle) and has the centerpoint vertex as one of the vertices.
#define GX_TRIANGLES 0x90 
Draws a series of unconnected triangles. Three vertices make a single triangle.
#define GX_TRIANGLESTRIP 0x98 
Draws a series of triangles. Each triangle (besides the first) shares a side with the previous triangle. Each vertex (besides the first two) completes a triangle.