GLUQUADRICDRAWSTYLE(3G)
π gluQuadricDrawStyle β the GLU glow-up for your quadrics
okay bestie, welcome to the GLUQUADRICDRAWSTYLE(3G) page, aka the part of the GLU manual where you get to decide whether your quadric shows up dressed as a solid girlie, a wireframe icon, a silhouette queen, or just a lil cloud of points β¨
β¨ NAME β¨
gluQuadricDrawStyle β specify the draw style desired for quadrics π
πΈ C SPECIFICATION πΈ
void gluQuadricDrawStyle( GLUquadric* quad,
GLenum draw )
that's it, that's the whole signature, no cap π
π¦ PARAMETERS π¦
quadβ Specifies the quadrics object (created withgluNewQuadric). it's literally the quadric you're about to serve looks on, you have to make it first withgluNewQuadricor there's nothing to style πdrawβ Specifies the desired draw style. Valid values areGLU_FILL,GLU_LINE,GLU_SILHOUETTE, andGLU_POINT. four options, four vibes, pick your fighter π
π DESCRIPTION π
gluQuadricDrawStyle</purl> specifies the draw style for quadrics rendered with quad. The legal values are as follows:
GLU_FILLβ Quadrics are rendered with polygon primitives. The polygons are drawn in a counterclockwise fashion with respect to their normals (as defined withgluQuadricOrientation). so like, full solid main-character energy, and the winding order is lowkey tied to whatever orientation you set up withgluQuadricOrientationβ it's giving β¨coordinatedβ¨GLU_LINEβ Quadrics are rendered as a set of lines. wireframe moment, very see-through, very honest πΈοΈGLU_SILHOUETTEβ Quadrics are rendered as a set of lines, except that edges separating coplanar faces will not be drawn. okay so it's also lines but it's the picky version β if two faces are coplanar, the edge between them gets ghosted, no edge drawn there, so you only get the actual outline silhouette πGLU_POINTβ Quadrics are rendered as a set of points. just dots bestie, a whole constellation of them β
ngl the order you call this in matters to your sanity β set the draw style and then let the quadric cook π₯
π SEE ALSO π
gluNewQuadric(3G)gluQuadricNormals(3G)gluQuadricOrientation(3G)gluQuadricTexture(3G)
go read those too, they're all part of the same quadric friend group π«Ά
and that's the page, babe β this one lives in the 3G GLU manual, filed under GLUQUADRICDRAWSTYLE(3G), same name up top and down at the bottom like a little mirrored slay π
π¦ 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