GLProgramming.com

home :: about :: development guides :: irc :: forums :: search :: paste :: links :: contribute :: code dump

-> Click here to learn how to get live help <-


Manpage of GLVERTEX

GLVERTEX

Index
 

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 f3glVertex2dfP( GLdouble fIxfP,
   GLfloat fIyfP )
void f3glVertex2ifP( GLint fIxfP,
   GLshort fIyfP )
void f3glVertex3dfP( GLdouble fIxfP,
   GLfloat fIyfP,
   GLfloat fIzfP )
void f3glVertex3ifP( GLint fIxfP,
   GLshort fIyfP,
   GLshort fIzfP )
void f3glVertex4dfP( GLdouble fIxfP,
   GLfloat fIyfP,
   GLfloat fIzfP,
   GLfloat fIwfP )
void f3glVertex4ifP( GLint fIxfP,
   GLshort fIyfP,
   GLshort fIzfP,
   GLshort fIwfP )

 

PARAMETERS

f2xfP, f2yfP, f2zfP, f2wfP
Specify f2xfP, f2yfP, f2zfP, and f2wfP coordinates of a vertex. Not all parameters are present in all forms of the command.
 

C SPECIFICATION

void f3glVertex2dvfP( const GLdouble fI*vfP )


void f3glVertex2fvfP(
const GLfloat fI*vfP )


void f3glVertex2ivfP(
const GLint fI*vfP )


void f3glVertex2svfP(
const GLshort fI*vfP )


void f3glVertex3dvfP(
const GLdouble fI*vfP )


void f3glVertex3fvfP(
const GLfloat fI*vfP )


void f3glVertex3ivfP(
const GLint fI*vfP )


void f3glVertex3svfP(
const GLshort fI*vfP )


void f3glVertex4dvfP(
const GLdouble fI*vfP )


void f3glVertex4fvfP(
const GLfloat fI*vfP )


void f3glVertex4ivfP(
const GLint fI*vfP )


void f3glVertex4svfP(
const GLshort fI*vfP )


 

PARAMETERS

f2vfP
Specifies a pointer to an array of two, three, or four elements. The elements of a two-element array are f2xfP and f2yfP; of a three-element array, f2xfP, f2yfP, and f2zfP; and of a four-element array, f2xfP, f2yfP, f2zfP, and f2wfP.
 

DESCRIPTION

%f3glVertexfP commands are used within %f3glBeginfP/%f3glEndfP pairs to specify point, line, and polygon vertices. The current color, normal, and texture coordinates are associated with the vertex when %f3glVertexfP is called. When only f2xfP and f2yfP are specified, f2zfP defaults to 0 and f2wfP defaults to 1. When f2x, y,fP and f2zfP are specified, f2wfP defaults to 1.  

NOTES

Invoking %f3glVertexfP outside of a %f3glBeginfP/%f3glEndfP pair results in undefined behavior.  

SEE ALSO

%f3glBegin(3G)fP, %f3glCallList(3G)fP, %f3glColor(3G)fP, %f3glEdgeFlag(3G)fP, %f3glEvalCoord(3G)fP, %f3glIndex(3G)fP, %f3glMaterial(3G)fP,
%f3glNormal(3G)fP, %f3glRect(3G)fP, %f3glTexCoord(3G)fP, %f3glVertexPointer(3G)fP


 

Index

NAME
C SPECIFICATION
PARAMETERS
C SPECIFICATION
PARAMETERS
DESCRIPTION
NOTES
SEE ALSO