1UNTITLED LOCAL UNTITLED
2
4 glutWireTetrahedron — Draw a wireframe tetrahedron.
5
7 OpenGLUT - geometry
8
10 #include <openglut.h>
11
12 void
13 glutWireTetrahedron(void);
14
16 This function draws a regular, wireframe 4-sided polyhedron centered at
17 the origin. The distance from the origin to the vertices is 1.
18
20 Merge r0 r1 r2 and r3 into one array.
21
22 Put the normals into the (or an) array.
23
24 Make the array static const, with file scope, and share with glutSolidTe‐
25 trahedron().
26
27 Maybe consolidate with the SierpinskySponge?
28
30 glutSolidTetrahedron(3)
31
32
33
34
35 Epoch