GLUTWIRETETRAHEDRON

Section: C Library Functions (3)
Updated: LOCAL
Index Return to Main Contents

BSD mandoc
 

NAME

glutWireTetrahedron - Draw a wireframe tetrahedron.  

LIBRARY

OpenGLUT - geometry  

SYNOPSIS

In openglut.h Ft void Fn 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 Bf Sy
 r0 Ef
  Bf Sy
 r1 Ef
  Bf Sy
 r2 Ef
 and  Bf Sy
 r3 Ef
 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)