Geometric Primitive Names and
Meanings
Value
|
Meaning
|
|
Individual points
|
|
|
|
Series of connected line segments
|
|
Same as above, with a segment added between last and first
vertices
|
|
Triples of vertices interpreted as triangles
|
|
Linked strip of triangles
|
|
Linked fan of triangles
|
|
Quadruples of vertices interpreted as four-sided polygons
|
|
Linked strip of quadrilaterals
|
|
Boundary of a simple, convex polygon
|
void glTranslatef ( GLfloat x,
GLfloat y, GLfloat z )PARAMETERS x, y, z
Specify the x, y,
and z coordinates of a translation vector.
DESCRIPTION:
glTranslate produces a translation by (x,y,z). The current matrix (seeglMatrixMode) is
multiplied by this translation matrix, with the product replacing the current matrix, as if glMultMatrix were called
with
the following matrix for its argument:
1 0 0 x
0 1 0 y
0 0 1 z
0 0 0 1