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 πŸ‘€


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. πŸŽ€πŸŒˆπŸ’œ