From http://www.jwz.org/xscreensaver/xscreensaver-5.15.tar.gz
[xscreensaver] / hacks / glx / tronbit_yes.c
1 /* yes = tetrahedron */
2
3 #include "gllist.h"
4 static const float data[]={
5         0.57735,0.57735,0.57735,0,0,0.5,
6         0.57735,0.57735,0.57735,0.5,0,0,
7         0.57735,0.57735,0.57735,0,0.5,0,
8         -0.57735,0.57735,0.57735,0,0,0.5,
9         -0.57735,0.57735,0.57735,0,0.5,0,
10         -0.57735,0.57735,0.57735,-0.5,0,0,
11         -0.57735,-0.57735,0.57735,0,0,0.5,
12         -0.57735,-0.57735,0.57735,-0.5,0,0,
13         -0.57735,-0.57735,0.57735,0,-0.5,0,
14         0.57735,-0.57735,0.57735,0,0,0.5,
15         0.57735,-0.57735,0.57735,0,-0.5,0,
16         0.57735,-0.57735,0.57735,0.5,0,0,
17         0.57735,-0.57735,-0.57735,0.5,0,0,
18         0.57735,-0.57735,-0.57735,0,-0.5,0,
19         0.57735,-0.57735,-0.57735,0,0,-0.5,
20         0.57735,0.57735,-0.57735,0.5,0,0,
21         0.57735,0.57735,-0.57735,0,0,-0.5,
22         0.57735,0.57735,-0.57735,0,0.5,0,
23         -0.57735,0.57735,-0.57735,0,0.5,0,
24         -0.57735,0.57735,-0.57735,0,0,-0.5,
25         -0.57735,0.57735,-0.57735,-0.5,0,0,
26         -0.57735,-0.57735,-0.57735,-0.5,0,0,
27         -0.57735,-0.57735,-0.57735,0,0,-0.5,
28         -0.57735,-0.57735,-0.57735,0,-0.5,0
29 };
30 static const struct gllist frame={GL_N3F_V3F,GL_TRIANGLES,24,data,NULL};
31 const struct gllist *tronbit_yes=&frame;