table of contents
other versions
- Tumbleweed 3.2.2-2.1
- Leap-16.0
- Leap-15.6
| GLUTWIRECONE(3) | Library Functions Manual (local) | GLUTWIRECONE(3) |
NAME¶
glutWireCone —
Draw a wireframe cone.
LIBRARY¶
OpenGLUT - geometry
SYNOPSIS¶
#include
<openglut.h>
void
glutWireCone(GLdouble
base, GLdouble
height, GLint
slices, GLint
stacks);
PARAMETERS¶
base
Cone radius at the base in the xy plane.
height
Height of cone in positive z direction.
slices
The number of divisions around the z axis. (latitudal)
stacks
The number of divisions along the z axis. (longitudal)
DESCRIPTION¶
The glutWireCone() function draws a wireframe cone with a base in the xy plane oriented in positive z.
CAVEATS¶
The number of line segments representing the conical surface is proportional to (slices*stacks).