glutSolidTorus(3GLUT) | GLUT | glutSolidTorus(3GLUT) |
glutSolidTorus, glutWireTorus - render a solid or wireframe torus (doughnut) respectively.
#include <GLUT/glut.h>
void glutSolidTorus(GLdouble innerRadius, GLdouble outerRadius, GLint nsides, GLint rings); void glutWireTorus(GLdouble innerRadius, GLdouble outerRadius, GLint nsides, GLint rings);
glutSolidTorus and glutWireTorus render a solid or wireframe torus (doughnut) respectively centered at the modeling coordinates origin whose axis is aligned with the Z axis.
glutSolidSphere, glutSolidCube, glutSolidCone, glutSolidDodecahedron, glutSolidOctahedron, glutSolidTetrahedron, glutSolidIcosahedron, glutSolidTeapot
Mark J. Kilgard (mjk@nvidia.com)
3.7 | GLUT |