glutSolidSphere(3GLUT) | GLUT | glutSolidSphere(3GLUT) |
glutSolidSphere, glutWireSphere - render a solid or wireframe sphere respectively.
#include <GLUT/glut.h>
void glutSolidSphere(GLdouble radius, GLint slices, GLint stacks); void glutWireSphere(GLdouble radius, GLint slices, GLint stacks);
Renders a sphere centered at the modeling coordinates origin of the specified radius. The sphere is subdivided around the Z axis into slices and along the Z axis into stacks.
glutSolidCube, glutSolidCone, glutSolidTorus, glutSolidDodecahedron, glutSolidOctahedron, glutSolidTetrahedron, glutSolidIcosahedron, glutSolidTeapot
Mark J. Kilgard (mjk@nvidia.com)
3.7 | GLUT |