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/pcre32_free_study.3.html
pcre32_free_study(3) Perl-compatible regular expressions....
This function is used to free the memory used for the data generated by a call to pcre[16|32]_study() when it is no longer needed. The argument must be the resu

manpages/Tk_Y.3.html
Tk_Y(3) - retrieve information from Tk's local data structur
Tk_WindowId and the other names listed above are all macros that return fields from Tks local data structure for tkwin. None of these macros requires any intera

manpages/ether_aton_r.3.html
ether_aton_r(3) - Ethernet address manipulation routines....
ether_aton() converts the 48-bit Ethernet host address asc from the standard hex-digits-and-colons notation into binary data in network byte order and returns a

manpages/ppmrainbow.1.html
ppmrainbow(1) - Generate a rainbow - Linux manual page......
This program is part of Netpbm(1) ppmrainbow generates a PPM image that fades from one color to another to another from left to right, like a rainbow. The color

manpages/glutChangeToSubMenu.3.html
glutChangeToSubMenu(3) - changes the specified menu item in
glutChangeToSubMenu changes the specified menu item in the current menu into a sub-menu trigger. The entry parameter determines which menu item should be change

manpages/mvderwin.3ncurses.html
mvderwin(3ncurses) - create curses windows - Linux man page
Calling newwin creates and returns a pointer to a new window with the given number of lines and columns. The upper left-hand corner of the window is at line beg

manpages/curl_multi_info_read.3.html
curl_multi_info_read(3) - read multi stack informationals...
Ask the multi handle if there are any messages/informationals from the individual transfers. Messages may include informationals such as an error code from the

manpages/pthread_attr_getstack.3.html
pthread_attr_getstack(3) - set/get stack attributes in threa
The pthread_attr_setstack() function sets the stack address and stack size attributes of the thread attributes object referred to by attr to the values specifie

manpages/spacing.3menu.html
spacing(3menu) - Control spacing between menu items.........
The function set_menu_spacing sets the spacing information for the menu. Its parameter spc_description controls the number of spaces between an item name and an

manpages/mk_cmds.1.html
mk_cmds(1) - error table compiler - Linux manual page.......
Mk_cmds converts a table listing command names and associated help messages into a C source file suitable for use with the ss(3) library. The source file name m

manpages/htnotify.1.html
htnotify(1) - sends email notifications about out-dated web
Htnotify scans the document database created by htmerge and sends an email message for every page that is out of date. Please have a look at the ht://Dig notifi

manpages/fop-fontmetric.1.html
fop-fontmetric(1) - Reads TTF files and Generates Appropriat
xmlgraphics-fop-fontmetric Reads TTF files and Generates Appropriate Font Classnames: org.apache.fop.fonts.apps.PFMReader and org.apache.fop.fonts.apps.TT....





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