SysTutorials

Linux Manual Pages › Section 3

glutsolidoctahedron(3)

glutSolidOctahedron – Draw a solid octahedron.

Library

OpenGLUT – geometry

Synopsis

In openglut.h Ft void Fn 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.

See Also

glutWireOctahedron(3)