GLUTESSBEGINCONTOUR(3G)
π GLUTESSBEGINCONTOUR β the gluTessBeginContour and gluTessEndContour of it all β¨
okay bestie, gather round, because this is the GLUTESSBEGINCONTOUR(3G) manual page and it's literally about drawing the little fence around a contour. no cap. π
πΈ NAME πΈ
gluTessBeginContour, gluTessEndContour β delimit a contour description
like, they're the open-quote and close-quote of your contour. the bookends. the "hey bestie we're starting" and the "okay we're done here". π
β¨ C SPECIFICATION β¨
void gluTessBeginContour( GLUtesselator* tess )
void gluTessEndContour( GLUtesselator* tess )
two functions, both void, both taking one GLUtesselator*. iconic. no return value because they simply do not need to explain themselves. π
π¦ PARAMETERS π¦
tessβ specifies the tessellation object (created withgluNewTess). yes, that's the one. the tessellation object. you gotta have one, you can't just vibe into a contour with nothing, babe. it's made withgluNewTess. π
π DESCRIPTION π
okay so here's the tea. gluTessBeginContour and gluTessEndContour delimit the definition of a polygon contour. that's the whole job. that's the assignment. they're the parentheses, basically. π«Ά
inside each gluTessBeginContour/gluTessEndContour pair, there can be zero or more calls to gluTessVertex. zero. or more. both valid, we don't judge. π
and the vertices? they specify a closed contour β which means the last vertex of each contour is automatically linked to the first. you don't gotta close it yourself, the library does it for you. it's giving thoughtful. it's giving generous. we love that for us. β¨
want more deets on the vertex situation? go read the gluTessVertex reference page. that's where the lore lives. π
and here's the big rule, the one that matters, the vibe check that will end you if you fail it:
gluTessBeginContourcan only be called betweengluTessBeginPolygonandgluTessEndPolygon. like, that is its whole habitat. that's the only window. don't be out here calling it wherever. π
π SEE ALSO π
go read your sisters, bestie, they're all connected:
gluNewTess(3G)gluTessBeginPolygon(3G)gluTessVertex(3G)gluTessCallback(3G)gluTessProperty(3G)gluTessNormal(3G)gluTessEndPolygon
and that's the whole page, periodt. π β¨
this little love letter to contour delimiting came to you from the GLUTESSBEGINCONTOUR(3G) manual, and the footer says it's GLUTESSBEGINCONTOUR(3G) all the way down β so shoutout to the source and version, and consider yourself officially signed off on. mwah. πππ¦
π¦ where this page comes from
- centos-stream 9: gl-manpages 1.1-24.20190306.el9 Β· MIT and Open Publication
- fedora 43: gl-manpages 1.1-34.20190306.fc43 Β· Apache-2.0 AND HPND AND HPND-sell-variant AND MIT AND OpenPBS-2.3 AND SGI-B-2.0 AND W3C-19980720 AND X11
- fedora 44: gl-manpages 1.1-35.20190306.fc44 Β· Apache-2.0 AND HPND AND HPND-sell-variant AND MIT AND OpenPBS-2.3 AND SGI-B-2.0 AND W3C-19980720 AND X11
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms