Signature
Parameters
Variables | Description |
---|---|
base |
The radius of the base of the cone.
|
height |
The height of the cone.
|
slices |
The number of subdivisions around the Z axis.
|
stacks |
The number of subdivisions along the Z axis.
|
Description
glutSolidCone
and
glutWireCone
render a solid or wireframe cone respectively
oriented along the
axis. The base of the cone is placed at
, and the top at
. The cone is subdivided around the
axis into slices, and along the
axis into stacks.
See Also
glutSolidSphere glutSolidCube glutSolidTorus glutSolidDodecahedron glutSolidOctahedron glutSolidTetrahedron glutSolidIcosahedron glutSolidTeapotSample Code References
The following code samples have been found which appear to reference the functions described here. Take care that the code may be old, broken or not even use PyOpenGL.
glutSolidCone