glutSolidCone

render a solid or wireframe cone respectively.

Signature

glutSolidCone( GLdouble( base ) , GLdouble( height ) , GLint( slices ) , GLint( stacks ) )-> void
glutSolidCone( base , height , slices , stacks )
glutSolidCone( GLdouble(base), GLdouble(height), GLint(slices), GLint(stacks) ) -> None
glutWireCone( GLdouble( base ) , GLdouble( height ) , GLint( slices ) , GLint( stacks ) )-> void
glutWireCone( base , height , slices , stacks )
glutWireCone( GLdouble(base), GLdouble(height), GLint(slices), GLint(stacks) ) -> None

Parameters

VariablesDescription
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.

See Also

glutSolidSphere glutSolidCube glutSolidTorus glutSolidDodecahedron glutSolidOctahedron glutSolidTetrahedron glutSolidIcosahedron glutSolidTeapot

Sample 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
OpenGL-Demo PyOpenGL-Demo/GLUT/tom/cone.py Lines: 27
OpenGL-Demo PyOpenGL-Demo/tom/conechecker.py Lines: 54
OpenGL-Demo PyOpenGL-Demo/tom/conesave.py Lines: 35
OpenGL-Demo PyOpenGL-Demo/tom/cone.py Lines: 33
OpenGL-Demo PyOpenGL-Demo/redbook/scene.py Lines: 95