glutwiretetrahedron(3) - Linux man page

Name

glutWireTetrahedron - Draw a wireframe tetrahedron.

Library

OpenGLUT - geometry

Synopsis

#include <openglut.h>

void

glutWireTetrahedron(void);

Description

This function draws a regular, wireframe 4-sided polyhedron centered at the origin. The distance from the origin to the vertices is 1.

Todo

Merge r0 r1 r2 and r3 into one array.

Put the normals into the (or an) array.

Make the array static const, with file scope, and share with glutSolidTetrahedron().

Maybe consolidate with the SierpinskySponge?

See Also

glutsolidtetrahedron(3)

BSD Epoch BSD