glutWireTetrahedron man page

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)

Referenced By

glutSolidTetrahedron(3).

August 9, 2018