GLUTESSBEGINCONTOUR(3G)
π GLUTESSBEGINCONTOUR β bestie, let's talk contours π
okay so this is the manual page for gluTessBeginContour and gluTessEndContour, from the 3G (GLU) manual section. if you're out here doing tessellation stuff, you're in the right place. pull up a chair, grab a strawberry π, we're doing this.
β¨ NAME β¨
gluTessBeginContour, gluTessEndContour β delimit a contour description
like, they literally delimit a contour description. that's the whole job. no cap.
β¨ C SPECIFICATION β¨
void gluTessBeginContour( GLUtesselator* tess )
void gluTessEndContour( GLUtesselator* tess )
two functions, both void, both take the same thing. they're a matched set, like friendship bracelets. π«Ά
β¨ PARAMETERS β¨
tessβ specifies the tessellation object. this is the one you made earlier withgluNewTess. if you don't have one of those yet, girl, go get one. that's your main character.
β¨ DESCRIPTION β¨
so here's the vibe: gluTessBeginContour and gluTessEndContour delimit the definition of a polygon contour. they're the little open-and-close brackets around your whole contour moment. π
within each gluTessBeginContour / gluTessEndContour pair, there can be zero or more calls to gluTessVertex. yes, zero. yes, really. it's giving "empty contour, but make it legal."
the vertices specify a closed contour β and the way that the last vertex of each contour is automatically linked to the first?? iconic. you do not have to close it yourself. it just does it. we love a self-sufficient queen. π
see the gluTessVertex reference page for more details, bestie, that's where the real tea is.
β οΈ important, and I mean this with love:gluTessBeginContourcan only be called betweengluTessBeginPolygonandgluTessEndPolygon. outside that window? it's not the moment. it's literally not the moment. π
β¨ SEE ALSO β¨
the whole friend group, no one left out:
gluNewTess(3G)gluTessBeginPolygon(3G)gluTessVertex(3G)gluTessCallback(3G)gluTessProperty(3G)gluTessNormal(3G)gluTessEndPolygon
and that's the page!! π
this was GLUTESSBEGINCONTOUR(3G) the whole time, published under the 3G GLU source, and the footer timestamp says it's dated with GLUTESSBEGINCONTOUR(3G) at the bottom too β so like, the page is its own little matching set, top and bottom, closed contour energy fr fr. go tessellate something cute. bye bestie!! πΈβ¨π¦
π¦ 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