void glVertex4s(
void glVertex2dv(
void glVertex2fv(
void glVertex2iv(
void glVertex2sv(
void glVertex3dv(
void glVertex3fv(
void glVertex3iv(
void glVertex3sv(
void glVertex4dv(
void glVertex4fv(
void glVertex4iv(
void glVertex4sv(
Parameters
x, y, z, w
v
Description
glVertex commands are used within glBegin/glEnd pairs to specify point, line, and
polygon vertices. The current color, normal, and texture coordinates are associated with
the vertex when glVertex is called.
When only x and y are specified, z defaults to 0 and w defaults to 1. When x, y, and z are
specified, w defaults to 1.
Notes
Invoking glVertex outside of a glBegin/glEnd pair results in undefined behavior.
Chapter 20
GLint z,
GLint w)
GLshort x,
GLshort y,
GLshort z,
GLshort w)
const GLdouble *v)
const GLfloat *v)
const GLint *v)
const GLshort *v)
const GLdouble *v)
const GLfloat *v)
const GLint *v)
const GLshort *v)
const GLdouble *v)
const GLfloat *v)
const GLint *v)
const GLshort *v)
Specify x, y, z, and w coordinates of a vertex. Not all parameters are
present in all forms of the command.
Specifies a pointer to an array of two, three, or four elements. The
elements of a two-element array are x and y; of a three-element array,
x, y, and z; and of a four-element array, x, y, z, and w.
V
glVertex
475