~cyphermox/ubuntu/precise/xscreensaver/merge-5.15-2

« back to all changes in this revision

Viewing changes to hacks/glx/tronbit_idle1.c

  • Committer: Mathieu Trudel-Lapierre
  • Date: 2011-12-21 15:57:35 UTC
  • mfrom: (1.1.13 upstream)
  • Revision ID: mathieu@canonical.com-20111221155735-m43kxy7824n1p36y
Merging shared upstream rev into target branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* odd parity = small triambic icosahedron */
 
2
 
 
3
#include "gllist.h"
 
4
static const float data[]={
 
5
        0,0,1,0.263523,-0.204124,0.372678,
 
6
        0,0,1,0.263523,0.10775,0.372678,
 
7
        0,0,1,0.045015,0.33028,0.372678,
 
8
        0,0,1,0.263523,-0.204124,0.372678,
 
9
        0,0,1,0.045015,0.33028,0.372678,
 
10
        0,0,1,-0.225076,0.174343,0.372678,
 
11
        0,0,1,0.263523,-0.204124,0.372678,
 
12
        0,0,1,-0.225076,0.174343,0.372678,
 
13
        0,0,1,-0.308538,-0.126156,0.372678,
 
14
        0,0,1,0.263523,-0.204124,0.372678,
 
15
        0,0,1,-0.308538,-0.126156,0.372678,
 
16
        0,0,1,-0.038448,-0.282093,0.372678,
 
17
        0.942809,0,0.333333,0.263523,-0.204124,0.372678,
 
18
        0.942809,0,0.333333,0.36418,-0.282093,0.087977,
 
19
        0.942809,0,0.333333,0.45421,-0.126156,-0.166667,
 
20
        0.942809,0,0.333333,0.263523,-0.204124,0.372678,
 
21
        0.942809,0,0.333333,0.45421,-0.126156,-0.166667,
 
22
        0.942809,0,0.333333,0.426389,0.174343,-0.087977,
 
23
        0.942809,0,0.333333,0.263523,-0.204124,0.372678,
 
24
        0.942809,0,0.333333,0.426389,0.174343,-0.087977,
 
25
        0.942809,0,0.333333,0.336359,0.33028,0.166667,
 
26
        0.942809,0,0.333333,0.263523,-0.204124,0.372678,
 
27
        0.942809,0,0.333333,0.336359,0.33028,0.166667,
 
28
        0.942809,0,0.333333,0.263523,0.10775,0.372678,
 
29
        0.672718,0.66056,0.333333,0.263523,0.10775,0.372678,
 
30
        0.672718,0.66056,0.333333,0.471405,0,0.166667,
 
31
        0.672718,0.66056,0.333333,0.426389,0.174343,-0.087977,
 
32
        0.672718,0.66056,0.333333,0.263523,0.10775,0.372678,
 
33
        0.672718,0.66056,0.333333,0.426389,0.174343,-0.087977,
 
34
        0.672718,0.66056,0.333333,0.235702,0.408248,-0.166667,
 
35
        0.672718,0.66056,0.333333,0.263523,0.10775,0.372678,
 
36
        0.672718,0.66056,0.333333,0.235702,0.408248,-0.166667,
 
37
        0.672718,0.66056,0.333333,0.062209,0.456436,0.087977,
 
38
        0.672718,0.66056,0.333333,0.263523,0.10775,0.372678,
 
39
        0.672718,0.66056,0.333333,0.062209,0.456436,0.087977,
 
40
        0.672718,0.66056,0.333333,0.045015,0.33028,0.372678,
 
41
        -0.471405,0.816497,0.333333,0.045015,0.33028,0.372678,
 
42
        -0.471405,0.816497,0.333333,0.062209,0.456436,0.087977,
 
43
        -0.471405,0.816497,0.333333,-0.117851,0.456436,-0.166667,
 
44
        -0.471405,0.816497,0.333333,0.045015,0.33028,0.372678,
 
45
        -0.471405,0.816497,0.333333,-0.117851,0.456436,-0.166667,
 
46
        -0.471405,0.816497,0.333333,-0.36418,0.282093,-0.087977,
 
47
        -0.471405,0.816497,0.333333,0.045015,0.33028,0.372678,
 
48
        -0.471405,0.816497,0.333333,-0.36418,0.282093,-0.087977,
 
49
        -0.471405,0.816497,0.333333,-0.45421,0.126156,0.166667,
 
50
        -0.471405,0.816497,0.333333,0.045015,0.33028,0.372678,
 
51
        -0.471405,0.816497,0.333333,-0.45421,0.126156,0.166667,
 
52
        -0.471405,0.816497,0.333333,-0.225076,0.174343,0.372678,
 
53
        -0.908421,0.252311,0.333333,-0.225076,0.174343,0.372678,
 
54
        -0.908421,0.252311,0.333333,-0.235702,0.408248,0.166667,
 
55
        -0.908421,0.252311,0.333333,-0.36418,0.282093,-0.087977,
 
56
        -0.90842,0.252312,0.333333,-0.225076,0.174343,0.372678,
 
57
        -0.90842,0.252312,0.333333,-0.36418,0.282093,-0.087977,
 
58
        -0.90842,0.252312,0.333333,-0.471405,0,-0.166667,
 
59
        -0.90842,0.252311,0.333334,-0.225076,0.174343,0.372678,
 
60
        -0.90842,0.252311,0.333334,-0.471405,0,-0.166667,
 
61
        -0.90842,0.252311,0.333334,-0.426389,-0.174343,0.087977,
 
62
        -0.908421,0.252311,0.333333,-0.225076,0.174343,0.372678,
 
63
        -0.908421,0.252311,0.333333,-0.426389,-0.174343,0.087977,
 
64
        -0.908421,0.252311,0.333333,-0.308538,-0.126156,0.372678,
 
65
        -0.471405,-0.816497,0.333333,-0.308538,-0.126156,0.372678,
 
66
        -0.471405,-0.816497,0.333333,-0.426389,-0.174343,0.087977,
 
67
        -0.471405,-0.816497,0.333333,-0.336359,-0.33028,-0.166667,
 
68
        -0.471404,-0.816497,0.333333,-0.308538,-0.126156,0.372678,
 
69
        -0.471404,-0.816497,0.333333,-0.336359,-0.33028,-0.166667,
 
70
        -0.471404,-0.816497,0.333333,-0.062209,-0.456436,-0.087977,
 
71
        -0.471405,-0.816497,0.333333,-0.308538,-0.126156,0.372678,
 
72
        -0.471405,-0.816497,0.333333,-0.062209,-0.456436,-0.087977,
 
73
        -0.471405,-0.816497,0.333333,0.117851,-0.456436,0.166667,
 
74
        -0.471405,-0.816497,0.333333,-0.308538,-0.126156,0.372678,
 
75
        -0.471405,-0.816497,0.333333,0.117851,-0.456436,0.166667,
 
76
        -0.471405,-0.816497,0.333333,-0.038448,-0.282093,0.372678,
 
77
        0.235702,-0.912871,0.333333,-0.038448,-0.282093,0.372678,
 
78
        0.235702,-0.912871,0.333333,-0.235702,-0.408248,0.166667,
 
79
        0.235702,-0.912871,0.333333,-0.062209,-0.456436,-0.087977,
 
80
        0.235702,-0.912871,0.333333,-0.038448,-0.282093,0.372678,
 
81
        0.235702,-0.912871,0.333333,-0.062209,-0.456436,-0.087977,
 
82
        0.235702,-0.912871,0.333333,0.235702,-0.408248,-0.166667,
 
83
        0.235702,-0.912871,0.333333,-0.038448,-0.282093,0.372678,
 
84
        0.235702,-0.912871,0.333333,0.235702,-0.408248,-0.166667,
 
85
        0.235702,-0.912871,0.333333,0.36418,-0.282093,0.087977,
 
86
        0.235702,-0.912871,0.333333,-0.038448,-0.282093,0.372678,
 
87
        0.235702,-0.912871,0.333333,0.36418,-0.282093,0.087977,
 
88
        0.235702,-0.912871,0.333333,0.263523,-0.204124,0.372678,
 
89
        0.09003,0.66056,0.745356,0.263523,0.10775,0.372678,
 
90
        0.09003,0.66056,0.745356,0.336359,0.33028,0.166667,
 
91
        0.09003,0.66056,0.745356,0.062209,0.456436,0.087977,
 
92
        0.09003,0.66056,0.745356,0.263523,0.10775,0.372678,
 
93
        0.09003,0.66056,0.745356,0.062209,0.456436,0.087977,
 
94
        0.09003,0.66056,0.745356,-0.235702,0.408248,0.166667,
 
95
        0.09003,0.66056,0.745356,0.263523,0.10775,0.372678,
 
96
        0.09003,0.66056,0.745356,-0.235702,0.408248,0.166667,
 
97
        0.09003,0.66056,0.745356,-0.225076,0.174343,0.372678,
 
98
        0.09003,0.660559,0.745356,0.263523,0.10775,0.372678,
 
99
        0.09003,0.660559,0.745356,-0.225076,0.174343,0.372678,
 
100
        0.09003,0.660559,0.745356,0,0,0.5,
 
101
        0.471405,0.816497,-0.333333,0.336359,0.33028,0.166667,
 
102
        0.471405,0.816497,-0.333333,0.426389,0.174343,-0.087977,
 
103
        0.471405,0.816497,-0.333333,0.308538,0.126156,-0.372678,
 
104
        0.471405,0.816497,-0.333333,0.336359,0.33028,0.166667,
 
105
        0.471405,0.816497,-0.333333,0.308538,0.126156,-0.372678,
 
106
        0.471405,0.816497,-0.333333,0.038448,0.282093,-0.372678,
 
107
        0.471405,0.816497,-0.333333,0.336359,0.33028,0.166667,
 
108
        0.471405,0.816497,-0.333333,0.038448,0.282093,-0.372678,
 
109
        0.471405,0.816497,-0.333333,-0.117851,0.456436,-0.166667,
 
110
        0.471404,0.816497,-0.333333,0.336359,0.33028,0.166667,
 
111
        0.471404,0.816497,-0.333333,-0.117851,0.456436,-0.166667,
 
112
        0.471404,0.816497,-0.333333,0.062209,0.456436,0.087977,
 
113
        0.617077,0.252311,-0.745356,0.426389,0.174343,-0.087977,
 
114
        0.617077,0.252311,-0.745356,0.45421,-0.126156,-0.166667,
 
115
        0.617077,0.252311,-0.745356,0.225076,-0.174343,-0.372678,
 
116
        0.617076,0.252311,-0.745356,0.426389,0.174343,-0.087977,
 
117
        0.617076,0.252311,-0.745356,0.225076,-0.174343,-0.372678,
 
118
        0.617076,0.252311,-0.745356,0,0,-0.5,
 
119
        0.617077,0.252311,-0.745356,0.426389,0.174343,-0.087977,
 
120
        0.617077,0.252311,-0.745356,0,0,-0.5,
 
121
        0.617077,0.252311,-0.745356,0.038448,0.282093,-0.372678,
 
122
        0.617077,0.252311,-0.745356,0.426389,0.174343,-0.087977,
 
123
        0.617077,0.252311,-0.745356,0.038448,0.282093,-0.372678,
 
124
        0.617077,0.252311,-0.745356,0.235702,0.408248,-0.166667,
 
125
        0.471405,-0.816497,-0.333333,0.45421,-0.126156,-0.166667,
 
126
        0.471405,-0.816497,-0.333333,0.36418,-0.282093,0.087977,
 
127
        0.471405,-0.816497,-0.333333,0.117851,-0.456436,0.166667,
 
128
        0.471405,-0.816497,-0.333333,0.45421,-0.126156,-0.166667,
 
129
        0.471405,-0.816497,-0.333333,0.117851,-0.456436,0.166667,
 
130
        0.471405,-0.816497,-0.333333,-0.062209,-0.456436,-0.087977,
 
131
        0.471405,-0.816497,-0.333333,0.45421,-0.126156,-0.166667,
 
132
        0.471405,-0.816497,-0.333333,-0.062209,-0.456436,-0.087977,
 
133
        0.471405,-0.816497,-0.333333,-0.045015,-0.33028,-0.372678,
 
134
        0.471405,-0.816497,-0.333333,0.45421,-0.126156,-0.166667,
 
135
        0.471405,-0.816497,-0.333333,-0.045015,-0.33028,-0.372678,
 
136
        0.471405,-0.816497,-0.333333,0.225076,-0.174343,-0.372678,
 
137
        -0.235702,0.912871,-0.333333,0.062209,0.456436,0.087977,
 
138
        -0.235702,0.912871,-0.333333,0.235702,0.408248,-0.166667,
 
139
        -0.235702,0.912871,-0.333333,0.038448,0.282093,-0.372678,
 
140
        -0.235702,0.912871,-0.333333,0.062209,0.456436,0.087977,
 
141
        -0.235702,0.912871,-0.333333,0.038448,0.282093,-0.372678,
 
142
        -0.235702,0.912871,-0.333333,-0.263523,0.204124,-0.372678,
 
143
        -0.235702,0.912871,-0.333333,0.062209,0.456436,0.087977,
 
144
        -0.235702,0.912871,-0.333333,-0.263523,0.204124,-0.372678,
 
145
        -0.235702,0.912871,-0.333333,-0.36418,0.282093,-0.087977,
 
146
        -0.235702,0.912871,-0.333333,0.062209,0.456436,0.087977,
 
147
        -0.235702,0.912871,-0.333333,-0.36418,0.282093,-0.087977,
 
148
        -0.235702,0.912871,-0.333333,-0.235702,0.408248,0.166667,
 
149
        0.90842,-0.252312,-0.333334,0.426389,0.174343,-0.087977,
 
150
        0.90842,-0.252312,-0.333334,0.471405,0,0.166667,
 
151
        0.90842,-0.252312,-0.333334,0.36418,-0.282093,0.087977,
 
152
        0.908421,-0.252311,-0.333333,0.426389,0.174343,-0.087977,
 
153
        0.908421,-0.252311,-0.333333,0.36418,-0.282093,0.087977,
 
154
        0.908421,-0.252311,-0.333333,0.235702,-0.408248,-0.166667,
 
155
        0.908421,-0.252311,-0.333333,0.426389,0.174343,-0.087977,
 
156
        0.908421,-0.252311,-0.333333,0.235702,-0.408248,-0.166667,
 
157
        0.908421,-0.252311,-0.333333,0.225076,-0.174343,-0.372678,
 
158
        0.908421,-0.252311,-0.333333,0.426389,0.174343,-0.087977,
 
159
        0.908421,-0.252311,-0.333333,0.225076,-0.174343,-0.372678,
 
160
        0.908421,-0.252311,-0.333333,0.308538,0.126156,-0.372678,
 
161
        0.527046,-0.408248,0.745356,0.471405,0,0.166667,
 
162
        0.527046,-0.408248,0.745356,0.263523,0.10775,0.372678,
 
163
        0.527046,-0.408248,0.745356,0,0,0.5,
 
164
        0.527046,-0.408248,0.745356,0.471405,0,0.166667,
 
165
        0.527046,-0.408248,0.745356,0,0,0.5,
 
166
        0.527046,-0.408248,0.745356,-0.038448,-0.282093,0.372678,
 
167
        0.527046,-0.408248,0.745356,0.471405,0,0.166667,
 
168
        0.527046,-0.408248,0.745356,-0.038448,-0.282093,0.372678,
 
169
        0.527046,-0.408248,0.745356,0.117851,-0.456436,0.166667,
 
170
        0.527047,-0.408249,0.745356,0.471405,0,0.166667,
 
171
        0.527047,-0.408249,0.745356,0.117851,-0.456436,0.166667,
 
172
        0.527047,-0.408249,0.745356,0.36418,-0.282093,0.087977,
 
173
        -0.617077,-0.252311,0.745356,-0.225076,0.174343,0.372678,
 
174
        -0.617077,-0.252311,0.745356,-0.45421,0.126156,0.166667,
 
175
        -0.617077,-0.252311,0.745356,-0.426389,-0.174343,0.087977,
 
176
        -0.617077,-0.252311,0.745356,-0.225076,0.174343,0.372678,
 
177
        -0.617077,-0.252311,0.745356,-0.426389,-0.174343,0.087977,
 
178
        -0.617077,-0.252311,0.745356,-0.235702,-0.408248,0.166667,
 
179
        -0.617077,-0.252311,0.745356,-0.225076,0.174343,0.372678,
 
180
        -0.617077,-0.252311,0.745356,-0.235702,-0.408248,0.166667,
 
181
        -0.617077,-0.252311,0.745356,-0.038448,-0.282093,0.372678,
 
182
        -0.617076,-0.252311,0.745356,-0.225076,0.174343,0.372678,
 
183
        -0.617076,-0.252311,0.745356,-0.038448,-0.282093,0.372678,
 
184
        -0.617076,-0.252311,0.745356,0,0,0.5,
 
185
        -0.942809,0,-0.333333,-0.45421,0.126156,0.166667,
 
186
        -0.942809,0,-0.333333,-0.36418,0.282093,-0.087977,
 
187
        -0.942809,0,-0.333333,-0.263523,0.204124,-0.372678,
 
188
        -0.942809,0,-0.333333,-0.45421,0.126156,0.166667,
 
189
        -0.942809,0,-0.333333,-0.263523,0.204124,-0.372678,
 
190
        -0.942809,0,-0.333333,-0.263523,-0.10775,-0.372678,
 
191
        -0.942809,0,-0.333333,-0.45421,0.126156,0.166667,
 
192
        -0.942809,0,-0.333333,-0.263523,-0.10775,-0.372678,
 
193
        -0.942809,0,-0.333333,-0.336359,-0.33028,-0.166667,
 
194
        -0.942809,0,-0.333333,-0.45421,0.126156,0.166667,
 
195
        -0.942809,0,-0.333333,-0.336359,-0.33028,-0.166667,
 
196
        -0.942809,0,-0.333333,-0.426389,-0.174343,0.087977,
 
197
        -0.527046,0.408248,-0.745356,-0.36418,0.282093,-0.087977,
 
198
        -0.527046,0.408248,-0.745356,-0.117851,0.456436,-0.166667,
 
199
        -0.527046,0.408248,-0.745356,0.038448,0.282093,-0.372678,
 
200
        -0.527046,0.408248,-0.745356,-0.36418,0.282093,-0.087977,
 
201
        -0.527046,0.408248,-0.745356,0.038448,0.282093,-0.372678,
 
202
        -0.527046,0.408248,-0.745356,0,0,-0.5,
 
203
        -0.527046,0.408248,-0.745356,-0.36418,0.282093,-0.087977,
 
204
        -0.527046,0.408248,-0.745356,0,0,-0.5,
 
205
        -0.527046,0.408248,-0.745356,-0.263523,-0.10775,-0.372678,
 
206
        -0.527046,0.408249,-0.745356,-0.36418,0.282093,-0.087977,
 
207
        -0.527046,0.408249,-0.745356,-0.263523,-0.10775,-0.372678,
 
208
        -0.527046,0.408249,-0.745356,-0.471405,0,-0.166667,
 
209
        -0.672718,-0.66056,-0.333333,-0.426389,-0.174343,0.087977,
 
210
        -0.672718,-0.66056,-0.333333,-0.471405,0,-0.166667,
 
211
        -0.672718,-0.66056,-0.333333,-0.263523,-0.10775,-0.372678,
 
212
        -0.672718,-0.66056,-0.333333,-0.426389,-0.174343,0.087977,
 
213
        -0.672718,-0.66056,-0.333333,-0.263523,-0.10775,-0.372678,
 
214
        -0.672718,-0.66056,-0.333333,-0.045015,-0.33028,-0.372678,
 
215
        -0.672718,-0.66056,-0.333333,-0.426389,-0.174343,0.087977,
 
216
        -0.672718,-0.66056,-0.333333,-0.045015,-0.33028,-0.372678,
 
217
        -0.672718,-0.66056,-0.333333,-0.062209,-0.456436,-0.087977,
 
218
        -0.672718,-0.66056,-0.333333,-0.426389,-0.174343,0.087977,
 
219
        -0.672718,-0.66056,-0.333333,-0.062209,-0.456436,-0.087977,
 
220
        -0.672718,-0.66056,-0.333333,-0.235702,-0.408248,0.166667,
 
221
        -0.09003,-0.66056,-0.745356,-0.062209,-0.456436,-0.087977,
 
222
        -0.09003,-0.66056,-0.745356,-0.336359,-0.33028,-0.166667,
 
223
        -0.09003,-0.66056,-0.745356,-0.263523,-0.10775,-0.372678,
 
224
        -0.09003,-0.66056,-0.745356,-0.062209,-0.456436,-0.087977,
 
225
        -0.09003,-0.66056,-0.745356,-0.263523,-0.10775,-0.372678,
 
226
        -0.09003,-0.66056,-0.745356,0,0,-0.5,
 
227
        -0.09003,-0.66056,-0.745356,-0.062209,-0.456436,-0.087977,
 
228
        -0.09003,-0.66056,-0.745356,0,0,-0.5,
 
229
        -0.09003,-0.66056,-0.745356,0.225076,-0.174343,-0.372678,
 
230
        -0.09003,-0.66056,-0.745356,-0.062209,-0.456436,-0.087977,
 
231
        -0.09003,-0.66056,-0.745356,0.225076,-0.174343,-0.372678,
 
232
        -0.09003,-0.66056,-0.745356,0.235702,-0.408248,-0.166667,
 
233
        0,0,-1,0.308538,0.126156,-0.372678,
 
234
        0,0,-1,0.225076,-0.174343,-0.372678,
 
235
        0,0,-1,-0.045015,-0.33028,-0.372678,
 
236
        0,0,-1,0.308538,0.126156,-0.372678,
 
237
        0,0,-1,-0.045015,-0.33028,-0.372678,
 
238
        0,0,-1,-0.263523,-0.10775,-0.372678,
 
239
        0,0,-1,0.308538,0.126156,-0.372678,
 
240
        0,0,-1,-0.263523,-0.10775,-0.372678,
 
241
        0,0,-1,-0.263523,0.204124,-0.372678,
 
242
        0,0,-1,0.308538,0.126156,-0.372678,
 
243
        0,0,-1,-0.263523,0.204124,-0.372678,
 
244
        0,0,-1,0.038448,0.282093,-0.372678
 
245
};
 
246
static const struct gllist frame={GL_N3F_V3F,GL_TRIANGLES,240,data,NULL};
 
247
const struct gllist *tronbit_idle1=&frame;