Scroll to navigation

GLUTWIRETETRAHEDRON(3) Library Functions Manual (local) GLUTWIRETETRAHEDRON(3)

NAME

glutWireTetrahedronDraw 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)