Quote:
NAME
glVertexPointer - define an array of vertex data
C SPECIFICATION
void glVertexPointer( GLint size,
GLenum type,
GLsizei stride,
const GLvoid *pointer )
PARAMETERS
size Specifies the number of coordinates per vertex; must be 2, 3,
or 4. The initial value is 4.
type Specifies the data type of each coordinate in the array. Sym-
bolic constants GL_SHORT, GL_INT, GL_FLOAT, and GL_DOUBLE are
accepted. The initial value is GL_FLOAT.
stride Specifies the byte offset between consecutive vertices. If
stride is 0, the vertices are understood to be tightly packed
in the array. The initial value is 0.
pointer Specifies a pointer to the first coordinate of the first ver-
tex in the array. The initial value is 0.