glVertex4d

glVertex: man2/glVertex.xml

glVertex commands are used within glBegin / glEnd pairs to specify point, line, and polygon vertices. The current color, normal, texture coordinates, and fog coordinate 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.

Invoking glVertex outside of a glBegin / glEnd pair results in undefined behavior.

@OpenGL_Version(OGLIntroducedIn.V1P0)
fn_glVertex4d glVertex4d;

See Also

glBegin, glCallList, glColor, glEdgeFlag, glEvalCoord, glFogCoord, glIndex, glMaterial, glMultiTexCoord, glNormal, glRect, glTexCoord, glVertexPointer

Meta