NAME
glVertex2d, glVertex2f, glVertex2i, glVertex2s, glVertex3d, glVertex3f, glVertex3i, glVertex3s, glVertex4d, glVertex4f, glVertex4i, glVertex4s, glVertex2dv, glVertex2fv, glVertex2iv, glVertex2sv, glVertex3dv, glVertex3fv, glVertex3iv, glVertex3sv, glVertex4dv, glVertex4fv, glVertex4iv, glVertex4sv
- specify a vertex
C SPECIFICATION
void ggllVVeerrtteexx22dd(
GLdouble _x,
GLdouble _y )
void ggllVVeerrtteexx22ff(
GLfloat _x,
GLfloat _y )
void ggllVVeerrtteexx22ii(
GLint _x,
GLint _y )
void ggllVVeerrtteexx22ss(
GLshort _x,
GLshort _y )
void ggllVVeerrtteexx33dd(
GLdouble _x,
GLdouble _y,
GLdouble _z )
void ggllVVeerrtteexx33ff(
GLfloat _x,
GLfloat _y,
GLfloat _z )
void ggllVVeerrtteexx33ii(
GLint _x,
GLint _y,
GLint _z )
void ggllVVeerrtteexx33ss(
GLshort _x,
GLshort _y,
GLshort _z )
void ggllVVeerrtteexx44dd(
GLdouble _x,
GLdouble _y,
GLdouble _z,
GLdouble _w )
void ggllVVeerrtteexx44ff(
GLfloat _x,
GLfloat _y,
GLfloat _z,
GLfloat _w )
void ggllVVeerrtteexx44ii(
GLint _x,
GLint _y,
GLint _z,
GLint _w )
void ggllVVeerrtteexx44ss(
GLshort _x,
GLshort _y,
GLshort _z,
GLshort _w )
PARAMETERS
-
_x, _y, _z, _w
-
Specify _x, _y, _z, and _w coordinates of a vertex.
Not all parameters are present in all forms of the command.
C SPECIFICATION
void ggllVVeerrtteexx22ddvv(
const GLdouble _*_v )
void ggllVVeerrtteexx22ffvv(
const GLfloat _*_v )
void ggllVVeerrtteexx22iivv(
const GLint _*_v )
void ggllVVeerrtteexx22ssvv(
const GLshort _*_v )
void ggllVVeerrtteexx33ddvv(
const GLdouble _*_v )
void ggllVVeerrtteexx33ffvv(
const GLfloat _*_v )
void ggllVVeerrtteexx33iivv(
const GLint _*_v )
void ggllVVeerrtteexx33ssvv(
const GLshort _*_v )
void ggllVVeerrtteexx44ddvv(
const GLdouble _*_v )
void ggllVVeerrtteexx44ffvv(
const GLfloat _*_v )
void ggllVVeerrtteexx44iivv(
const GLint _*_v )
void ggllVVeerrtteexx44ssvv(
const GLshort _*_v )
PARAMETERS
-
_v
-
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.
DESCRIPTION
ggllVVeerrtteexx commands are used within ggllBBeeggiinn/ggllEEnndd pairs to specify
point, line, and polygon vertices.
The current color,
normal,
and texture coordinates are associated with the vertex when ggllVVeerrtteexx 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 ggllVVeerrtteexx outside of a ggllBBeeggiinn/ggllEEnndd pair
results in undefined behavior.
SEE ALSO
ggllBBeeggiinn((33GG)),
ggllCCaallllLLiisstt((33GG)),
ggllCCoolloorr((33GG)),
ggllEEddggeeFFllaagg((33GG)),
ggllEEvvaallCCoooorrdd((33GG)),
ggllIInnddeexx((33GG)),
ggllMMaatteerriiaall((33GG)),
ggllNNoorrmmaall((33GG)),
ggllRReecctt((33GG)),
ggllTTeexxCCoooorrdd((33GG)),
ggllVVeerrtteexxPPooiinntteerr((33GG))