GLUTWIRECYLINDER(3)
π GLUTWIRECYLINDER(3) π
okay bestie, so this is a page from the OpenGLUT manual β section 3, geometry. it's giving "let me draw you a lil cage of a cylinder" and honestly? iconic. π
π NAME π
glutWireCylinder β draws a wireframe cylinder. that's it. that's the whole job. slay. β¨
π LIBRARY π
OpenGLUT β geometry π¦
β¨ SYNOPSIS β¨
no cap, here's exactly how you call it:
#include <openglut.h>
void
glutWireCylinder(GLdouble radius, GLdouble height, GLint slices,
GLint stacks);
π PARAMETERS π
radiusβ the radius of the cylinder π« like how thicc it is around the middleheightβ the Z height. yes, Z. we're being vertical about this π§slicesβ how many divisions go around the z axis (think: the number of vertical stripes in your lil wireframe cage) πstacksβ how many divisions go along the z axis (the horizontal rings, top to bottom) π«Ά
π DESCRIPTION π
okay so here's the tea: glutWireCylinder() draws a wireframe of a cylinder. wireframe meaning you get the β¨bonesβ¨ β the edges β not a solid filled-in shape. no cap.
the center of its base sits right at the origin (0, 0, 0, babes, dead center), and the cylinder's axis parallels the z axis. so it stands up straight along z, main character energy, no tilting. π
not me reminding you it's a wireframe β if you wanted a solid one, that's a whole different function, keep reading bestie π
π SEE ALSO π
glutSolidCylinder(3)β the solid sibling. same vibe, more filling. π₯
and that's the whole page, bestie!! π«Ά this lil beauty lives in the OpenGLUT manual β the footer said UNDATED for the date and UNTITLED() for the title/version situation, which is honestly so mysterious of it π go draw some cylinders, you got this, periodt πβ¨
π¦ where this page comes from
- centos-stream 10: freeglut-devel 3.4.0-9.el10 Β· MIT
- centos-stream 9: freeglut-devel 3.2.1-10.el9 Β· MIT
- centos-stream 9: freeglut-devel 3.2.1-10.el9 Β· MIT
- fedora 43: freeglut-devel 3.6.0-6.fc43 Β· MIT
- fedora 43: freeglut-devel 3.6.0-6.fc43 Β· MIT
- fedora 43: freeglut-devel 3.8.0-1.fc43 Β· MIT
- fedora 43: freeglut-devel 3.8.0-1.fc43 Β· MIT
- fedora 44: freeglut-devel 3.8.0-2.fc44 Β· MIT
- fedora 44: freeglut-devel 3.8.0-2.fc44 Β· MIT
- opensuse-leap 16.0: freeglut-devel 3.2.2-160000.2.2 Β· MIT
- opensuse-leap 16.0: freeglut-devel 3.2.2-160000.2.2 Β· MIT
- opensuse-leap 16.0: freeglut-devel 3.2.2-160000.2.2 Β· MIT
- opensuse-leap 16.0: freeglut-devel 3.2.2-160000.2.2 Β· MIT
- Copyright 2004, the OpenGLUT contributors
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms