glutSolidOctahedron(3GLUT) GLUT glutSolidOctahedron(3GLUT)

glutSolidOctahedron, glutWireOctahedron - render a solid or wireframe octahedron (8-sided regular solid) respectively.

#include <GLUT/glut.h>
void glutSolidOctahedron(void);
void glutWireOctahedron(void);

glutSolidOctahedron and glutWireOctahedron render a solid or wireframe octahedron respectively centered at the modeling coordinates origin with a radius of 1.0.

glutSolidSphere, glutSolidCube, glutSolidCone, glutSolidTorus, glutSolidDodecahedron, glutSolidTetrahedron, glutSolidIcosahedron, glutSolidTeapot

Mark J. Kilgard (mjk@nvidia.com)

3.7 GLUT