GLVERTEX


HOME

GLVERTEX

NAME
C SPECIFICATION
PARAMETERS
C SPECIFICATION
PARAMETERS
DESCRIPTION
NOTES
SEE ALSO

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 glVertex2d( GLdouble x,

GLdouble y )

void glVertex2f( GLfloat x,

GLfloat y )

void glVertex2i( GLint x,

GLint y )

void glVertex2s( GLshort x,

GLshort y )

void glVertex3d( GLdouble x,

GLdouble y,

GLdouble z )

void glVertex3f( GLfloat x,

GLfloat y,

GLfloat z )

void glVertex3i( GLint x,

GLint y,

GLint z )

void glVertex3s( GLshort x,

GLshort y,

GLshort z )

void glVertex4d( GLdouble x,

GLdouble y,

GLdouble z,

GLdouble w )

void glVertex4f( GLfloat x,

GLfloat y,

GLfloat z,

GLfloat w )

void glVertex4i( GLint x,

GLint y,

GLint z,

GLint w )

void glVertex4s( 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 glVertex2dv( const GLdouble *v )
void glVertex2fv( const GLfloat *v )
void glVertex2iv( const GLint *v )
void glVertex2sv( const GLshort *v )
void glVertex3dv( const GLdouble *v )
void glVertex3fv( const GLfloat *v )
void glVertex3iv( const GLint *v )
void glVertex3sv( const GLshort *v )
void glVertex4dv( const GLdouble *v )
void glVertex4fv( const GLfloat *v )
void glVertex4iv( const GLint *v )
void glVertex4sv( 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

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.

SEE ALSO

glBegin(3G), glCallList(3G), glColor(3G), glEdgeFlag(3G), glEvalCoord(3G), glIndex(3G), glMaterial(3G),
glNormal(3G)
, glRect(3G), glTexCoord(3G), glVertexPointer(3G)



More Linux Commands

manpages/rpc.nfsd.8.html
rpc.nfsd(8) - NFS server process (Admin - Linux man page)...
The rpc.nfsd program implements the user level part of the NFS service. The main functionality is handled by the nfsd kernel module. The user space program mere

manpages/XCloseDevice.3.html
XCloseDevice(3) - open or close an extension input device...
The XOpenDevice request makes an input device accessible to a client through input extension protocol requests. If successful, it returns a pointer to an XDevic

manpages/kibitz.1.html
kibitz(1) - allow two people to interact with one shell.....
kibitz allows two (or more) people to interact with one shell (or any arbitrary program). Uses include: * A novice user can ask an expert user for help. Using k

manpages/innwatch.ctl.5.html
innwatch.ctl(5) - control Usenet supervision by innwatch....
The file <pathetc in inn.conf>/innwatch.ctl is used to determine what actions are taken during the periodic supervisions by innwatch. The file consists of a ser

manpages/use_env.3ncurses.html
use_env(3ncurses) - miscellaneous curses utility routines...
The unctrl routine returns a character string which is a printable representation of the character c, ignoring attributes. Control characters are displayed in t

manpages/smicache.1.html
smicache(1) - caching method for use with libsmi (Man Page)
The smicache program can be used by libsmi to fetch MIB modules that cannot be found in regular local MIB directories. OPTIONS -V Show the smicache version and

manpages/AnyDBM_File.3pm.html
AnyDBM_File(3pm) - provide framework for multiple DBMs......
This module is a pure virtual base class--it has nothing of its own. Its just there to inherit from one of the various DBM packages. It prefers ndbm for compati

manpages/gluUnProject.3gl.html
gluUnProject(3gl) - map window coordinates to object coordin
gluUnProject maps the specified window coordinates into object coordinates using model, proj, and view. The result is stored in objX, objY, and objZ. A return v

manpages/readelf.1.html
readelf(1) - Displays information about ELF files. (ManPage)
readelf displays information about one or more ELF format object files. The options control what particular information to display. elffile... are the object fi

manpages/XFillArcs.3.html
XFillArcs(3) - fill rectangles, polygons, or arcs (ManPage)
The XFillRectangle and XFillRectangles functions fill the specified rectangle or rectangles as if a four-point FillPolygon protocol request were specified for e

manpages/Tcl_ChannelCloseProc.3.html
Tcl_ChannelCloseProc(3) - procedures for creating and manipu
Tcl uses a two-layered channel architecture. It provides a generic upper layer to enable C and Tcl programs to perform input and output using the same APIs for

manpages/form_hook.3form.html
form_hook(3form) - set hooks for automatic invocation by app
These functions make it possible to set hook functions to be called at various points in the automatic processing of input event codes by form_driver. The funct





We can't live, work or learn in freedom unless the software we use is free.