summaryrefslogtreecommitdiffstats
path: root/hacks/glx/tronbit_yes.c
blob: 376e96c2531e31675dad87628d48730c0bb01cea (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/* yes = tetrahedron */

#include "gllist.h"
static const float data[]={
	0.57735,0.57735,0.57735,0,0,0.5,
	0.57735,0.57735,0.57735,0.5,0,0,
	0.57735,0.57735,0.57735,0,0.5,0,
	-0.57735,0.57735,0.57735,0,0,0.5,
	-0.57735,0.57735,0.57735,0,0.5,0,
	-0.57735,0.57735,0.57735,-0.5,0,0,
	-0.57735,-0.57735,0.57735,0,0,0.5,
	-0.57735,-0.57735,0.57735,-0.5,0,0,
	-0.57735,-0.57735,0.57735,0,-0.5,0,
	0.57735,-0.57735,0.57735,0,0,0.5,
	0.57735,-0.57735,0.57735,0,-0.5,0,
	0.57735,-0.57735,0.57735,0.5,0,0,
	0.57735,-0.57735,-0.57735,0.5,0,0,
	0.57735,-0.57735,-0.57735,0,-0.5,0,
	0.57735,-0.57735,-0.57735,0,0,-0.5,
	0.57735,0.57735,-0.57735,0.5,0,0,
	0.57735,0.57735,-0.57735,0,0,-0.5,
	0.57735,0.57735,-0.57735,0,0.5,0,
	-0.57735,0.57735,-0.57735,0,0.5,0,
	-0.57735,0.57735,-0.57735,0,0,-0.5,
	-0.57735,0.57735,-0.57735,-0.5,0,0,
	-0.57735,-0.57735,-0.57735,-0.5,0,0,
	-0.57735,-0.57735,-0.57735,0,0,-0.5,
	-0.57735,-0.57735,-0.57735,0,-0.5,0
};
static const struct gllist frame={GL_N3F_V3F,GL_TRIANGLES,24,data,NULL};
const struct gllist *tronbit_yes=&frame;