GLUBEGINPOLYGON
NAMEC SPECIFICATION
PARAMETERS
DESCRIPTION
NOTES
EXAMPLE
SEE ALSO
NAME
gluBeginPolygon, gluEndPolygon − delimit a polygon description
C SPECIFICATION
void gluBeginPolygon( GLUtesselator* tess )
void gluEndPolygon( GLUtesselator* tess )
PARAMETERS
tess |
Specifies the tessellation object (created with gluNewTess). |
DESCRIPTION
gluBeginPolygon and gluEndPolygon delimit the definition of a nonconvex polygon. To define such a polygon, first call gluBeginPolygon. Then define the contours of the polygon by calling gluTessVertex for each vertex and gluNextContour to start each new contour. Finally, call gluEndPolygon to signal the end of the definition. See the gluTessVertex and gluNextContour reference pages for more details.
Once gluEndPolygon is called, the polygon is tessellated, and the resulting triangles are described through callbacks. See gluTessCallback for descriptions of the callback functions.
NOTES
This command is obsolete and is provided for backward compatibility only. Calls to gluBeginPolygon are mapped to gluTessBeginPolygon followed by gluTessBeginContour. Calls to gluEndPolygon are mapped to gluTessEndContour followed by gluTessEndPolygon.
EXAMPLE
A quadrilateral with a triangular hole in it can be described like this:
gluBeginPolygon(tobj);
gluTessVertex(tobj, v1, v1);
gluTessVertex(tobj, v2, v2);
gluTessVertex(tobj, v3, v3);
gluTessVertex(tobj, v4, v4); gluNextContour(tobj,
GLU_INTERIOR);
gluTessVertex(tobj, v5, v5);
gluTessVertex(tobj, v6, v6);
gluTessVertex(tobj, v7, v7); gluEndPolygon(tobj);
SEE ALSO
gluNewTess(3G), gluNextContour(3G), gluTessCallback(3G), gluTessVertex(3G), gluTessBeginPolygon(3G), gluTessBeginContour(3G)
More Linux Commands
manpages/instr.3ncurses.html
instr(3ncurses) - get a string of characters from a curses w
These routines return a string of characters in str, extracted starting at the current cursor position in the named window. Attributes are stripped from the cha
manpages/perl5101delta.1.html
perl5101delta(1) - what is new for perl v5.10.1 (Man Page)
This document describes differences between the 5.10.0 release and the 5.10.1 release. If you are upgrading from an earlier release such as 5.8.8, first read th
manpages/Tcl_SetChannelOption.3.html
Tcl_SetChannelOption(3) - buffered I/O facilities using chan
The Tcl channel mechanism provides a device-independent and platform-independent mechanism for performing buffered input and output operations on a variety of f
manpages/makehistory.8.html
makehistory(8) - Initialize or rebuild INN history database
makehistory rebuilds the history(5) text file, which contains a list of message-IDs of articles already seen by the server. It can also be used to rebuild the o
manpages/sasl_done.3.html
sasl_done(3) - Dispose of a SASL connection object (ManPage)
sasl_done is called when the application is completely done with the SASL library. RETURN VALUE No return values CONFORMING TO RFC 2222 SEE ALSO sasl(3), sasl_s
manpages/glib-mkenums.1.html
glib-mkenums(1) - C language enum description generation uti
glib-mkenums is a small perl-script utility that parses C code to extract enum definitions and produces enum descriptions based on text templates specified by t
manpages/gnutls_x509_crl_set_version.3.html
gnutls_x509_crl_set_version(3) - API function (Man Page)....
This function will set the version of the CRL. This must be one for CRL version 1, and so on. The CRLs generated by gnutls should have a version number of 2. RE
manpages/wcschr.3.html
wcschr(3) - search a wide character in a wide-character stri
The wcschr() function is the wide-character equivalent of the strchr(3) function. It searches the first occurrence of wc in the wide-character string pointed to
manpages/TAP::Parser::ResultFactory.3pm.html
TAP::Parser::ResultFactory(3pm) - Factory for creating TAP::
This is a simple factory class which returns a TAP::Parser::Result subclass representing the current bit of test data from TAP (usually a single line). It is us
manpages/sprof.1.html
sprof(1) - Read and display shared object profiling data....
--call-pairs, -c print list of count paths and their number of use --flat-profile, -p generate flat profile with counts and ticks --graph, -q generate call grap
manpages/XtHasCallbacks.3.html
XtHasCallbacks(3) - process callbacks - Linux manual page...
The XtCallCallbacks function calls each procedure that is registered in the specified widgets callback list. If callbacks is not NULL, XtCallCallbackList calls
manpages/jedit.1.html
jedit(1) Programmers Text Editor written in Java (Man Page)
This manual page briefly documents jEdits command-line parameters. Complete documentation can be found by invoking the Help->jEdit Help menu item within jEdit o
