other versions
- Tumbleweed 3.2.2-2.1
- Leap-16.0
- Leap-15.6
| GLUTSOLIDOCTAHEDRON(3) | Library Functions Manual (local) | GLUTSOLIDOCTAHEDRON(3) |
NAME¶
glutSolidOctahedron —
Draw a solid octahedron.
LIBRARY¶
OpenGLUT - geometry
SYNOPSIS¶
#include
<openglut.h>
void
glutSolidOctahedron(void);
DESCRIPTION¶
This function draws a regular, solid 8-sided polyhedron centered at the origin. The vertices are at (+/-1, 0, 0), (0, +/-1, 0), (0, 0, +/-1).
CAVEATS¶
We visit the same vertices the same number of times as in the wire octahedron, but the order is different.