GLUTESSBEGINCONTOUR(3G)

πŸ“¦ version 1.1, in centos-stream 9, fedora 43, fedora 44

πŸ’– 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 with gluNewTess. 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: gluTessBeginContour can only be called between gluTessBeginPolygon and gluTessEndPolygon. 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