GLUTSOLIDCYLINDER(3)
π GLUTSOLIDCYLINDER(3) β like, the solid cylinder one π
okay bestie, gather round, because we're about to talk about glutSolidCylinder from the OpenGLUT geometry crew and honestly? it's giving iconic. β¨
π LIBRARY
OpenGLUT β geometry section, periodt. π
β¨ SYNOPSIS β¨
#include <openglut.h>
void
glutSolidCylinder(GLdouble radius, GLdouble height, GLint slices,
GLint stacks);
no cap, that's the whole vibe. π«Ά
πΈ PARAMETERS πΈ
radiusβ the radius of the cylinder, bestie. how thicc it is around the middle. πheightβ the Z height. how tall she stands. πslicesβ divisions around the z axis. the little vertical slices going around. πstacksβ divisions along the z axis. the layers stacked up top to bottom. π§
π DESCRIPTION π
glutSolidCylinder() draws a shaded cylinder, and the way that it works is: the center of its base sits at the origin, and its axis runs along the positive z axis. literally main character energy. π₯
so like, origin = base center, axis = +z, shaded = yes. slay. π
π SEE ALSO π
glutWireCylinder(3)β the wireframe sibling, iykyk π¦
that's the whole page, bestie, you ate. π β¨
sign-off vibes: this one's tagged UNDATED and the footer's just out here saying UNTITLED() β mysterious, iconic, no notes. πππ
π¦ 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