glePolyCone(3GLE)
π glePolyCone β GLE manual, section 3GLE π
okay bestie, gather round, because we're about to talk about glePolyCone from the GLE library (that's version 3.0, periodt) π
β¨ NAME β¨
glePolyCone β draw a polycone, specified as a polyline with radii π¦
πΈ SYNTAX πΈ
void glePolyCone(int npoints,
gleDouble point_array[][3],
float color_array[][3],
gleDouble radius_array[]);
π ARGUMENTS π
npointsβ the numpoints in the poly-line, literally the headcount of your little vertex squad πpoint_arrayβ polyline vertices. the actual points, bestie β¨color_arrayβ colors at the polyline verts πradius_arrayβ the cone radii at the polyline π
π«Ά DESCRIPTION π«Ά
Draw a polycone, and you specify it as a polyline with radii. that's the whole vibe π
β οΈ not me about to tell you the wildest part β neither the very first segment, nor the very last segment get drawn. nope, they said "we're just here for the angle." The first and last segments serve only to define the angle of the join at the very ends of the polyline. so the way that math works out: to draw one segment, three must be specified. To draw two segments, four must be specified, etc. it's giving "you gotta give a little extra to get a little extra" π
The color array may be NULL. If it's NULL, the current color is used. If it is not NULL, the glColor3f() routine is used to set the color. therefore, specifying the glColorMaterial() subroutine before this primitive can be used to set diffuse, specular, ambient, etc. colors. highkey a whole mood β¨
By default, the cross-section of the cylinder is drawn as a 20-sided polygon. This number can be changed using the gleSetNumSides() routine. twenty sides, no cap π
π SEE ALSO π
glePolyCylindergleSetNumSides
π AUTHOR π
Linas Vepstas (linas@linas.org) β iconic behavior, we stan π«Ά
and that's the whole page, bestie!! this was the GLE manual, 3.0, for the glePolyCone(3GLE) page β slay, go draw some cones, and remember: the first and last segments are just there for the angles πβ¨ππ¦πΈ
π¦ where this page comes from
- debian bookworm: libgle3-dev 3.1.0-10 Β· GPL-2.0-only
- debian trixie: libgle3-dev 3.1.2-1+b2 Β· GPL-2.0-only
- fedora 43: libgle-devel 3.1.0-36.fc43 Β· GPL-2.0-only OR (ClArtistic AND LicenseRef-Callaway-MIT)
- fedora 43: libgle-devel 3.1.0-36.fc43 Β· GPL-2.0-only OR (ClArtistic AND LicenseRef-Callaway-MIT)
- fedora 44: libgle-devel 3.1.0-37.fc44 Β· GPL-2.0-only OR (ClArtistic AND LicenseRef-Callaway-MIT)
- fedora 44: libgle-devel 3.1.0-37.fc44 Β· GPL-2.0-only OR (ClArtistic AND LicenseRef-Callaway-MIT)
- nixos 26.05: gle 3.1.2
- nixpkgs unstable: gle 3.1.2
- opensuse-leap 16.0: gle-devel 3.1.2-bp160.1.13 Β· GPL-2.0-or-later
- opensuse-leap 16.0: gle-devel 3.1.2-bp160.1.13 Β· GPL-2.0-or-later
- opensuse-leap 16.0: gle-devel 3.1.2-bp160.1.13 Β· GPL-2.0-or-later
- opensuse-leap 16.0: gle-devel 3.1.2-bp160.1.13 Β· GPL-2.0-or-later
- ubuntu jammy: libgle3-dev 3.1.0-10 Β· GPL-2.0-only
- ubuntu noble: libgle3-dev 3.1.2-1build1 Β· GPL-2.0-only
- ubuntu questing: libgle3-dev 3.1.2-1build1
- ubuntu resolute: libgle3-dev 3.1.2-1build2 Β· GPL-2.0-only
- ubuntu stonking: libgle3-dev 3.1.2-1build2 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms