GLUTSOLIDCONE(3)
β¨ GLUTSOLIDCONE(3) β¨
okay bestie, welcome to the GLUTSOLIDCONE page π it lives in the OpenGLUT manual, and it's filed under geometry β so you already know it's gonna be a lil artsy π
πΈ NAME πΈ
glutSolidCone β draw a solid cone. that's it. that's the whole vibe π
π LIBRARY π
OpenGLUT β geometry π¦
β SYNOPSIS β
#include <openglut.h>
void
glutSolidCone(GLdouble base, GLdouble height, GLint slices,
GLint stacks);
like, copy that exactly, don't freestyle it π
π PARAMETERS π
baseβ the cone's radius at the base, measured in the xy plane. so like, how wide the bottom is πheightβ how tall the cone is, going in the positive z direction. up up up πslicesβ the number of divisions around the z axis. that's the latitudal ones, iykyk πstacksβ the number of divisions along the z axis. those are the longitudal ones, periodt β¨
π DESCRIPTION π
The glutSolidCone() function draws a shaded cone with a base sitting in the xy-plane, oriented in the positive z direction. it's giving pyramid's prettier cousin, no cap π
π CAVEATS π
okay listen, this one matters. the number of polygons representing the conical surface is proportional to (slices*stacks) β so if you crank those numbers up, the polygon count goes up with them. not me warning you about your own triangle budget π
π SEE ALSO π
glutWireCone(3)β the wireframe sibling, the see-through icon that it is π§
and that's the whole page, babe π«Ά this one was UNDATED and it came from UNTITLED() β yes really, that's the source and version, iconic honestly π β¨
π¦ 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