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

« back to all changes in this revision

Viewing changes to hacks/glx/tronbit_idle2.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
/* even parity = compound of icosahedron and dodecahedron */
 
2
 
 
3
#include "gllist.h"
 
4
static const float data[]={
 
5
        0.491123,0.356822,0.794655,0.138196,0.425326,0.223607,
 
6
        0.491123,0.356822,0.794655,0,0,0.5,
 
7
        0.491123,0.356822,0.794655,0.447213,0,0.223607,
 
8
        -0.187593,0.57735,0.794655,-0.361804,0.262865,0.223607,
 
9
        -0.187593,0.57735,0.794655,0,0,0.5,
 
10
        -0.187593,0.57735,0.794655,0.138196,0.425326,0.223607,
 
11
        -0.607062,0,0.794655,-0.361804,-0.262865,0.223607,
 
12
        -0.607062,0,0.794655,0,0,0.5,
 
13
        -0.607062,0,0.794655,-0.361804,0.262865,0.223607,
 
14
        -0.187593,-0.57735,0.794655,0.138196,-0.425326,0.223607,
 
15
        -0.187593,-0.57735,0.794655,0,0,0.5,
 
16
        -0.187593,-0.57735,0.794655,-0.361804,-0.262865,0.223607,
 
17
        0.491123,-0.356822,0.794655,0,0,0.5,
 
18
        0.491123,-0.356822,0.794655,0.138196,-0.425326,0.223607,
 
19
        0.491123,-0.356822,0.794655,0.447213,0,0.223607,
 
20
        0.794655,-0.57735,0.187593,0.361804,-0.262865,-0.223607,
 
21
        0.794655,-0.57735,0.187593,0.447213,0,0.223607,
 
22
        0.794655,-0.57735,0.187593,0.138196,-0.425326,0.223607,
 
23
        0.982247,0,-0.187592,0.447213,0,0.223607,
 
24
        0.982247,0,-0.187592,0.361804,-0.262865,-0.223607,
 
25
        0.982247,0,-0.187592,0.361804,0.262865,-0.223607,
 
26
        0.794655,0.57735,0.187593,0.447213,0,0.223607,
 
27
        0.794655,0.57735,0.187593,0.361804,0.262865,-0.223607,
 
28
        0.794655,0.57735,0.187593,0.138196,0.425326,0.223607,
 
29
        0.303531,0.934172,-0.187592,-0.138196,0.425326,-0.223607,
 
30
        0.303531,0.934172,-0.187592,0.138196,0.425326,0.223607,
 
31
        0.303531,0.934172,-0.187592,0.361804,0.262865,-0.223607,
 
32
        -0.303531,0.934172,0.187592,0.138196,0.425326,0.223607,
 
33
        -0.303531,0.934172,0.187592,-0.138196,0.425326,-0.223607,
 
34
        -0.303531,0.934172,0.187592,-0.361804,0.262865,0.223607,
 
35
        -0.794655,0.57735,-0.187593,-0.447213,0,-0.223607,
 
36
        -0.794655,0.57735,-0.187593,-0.361804,0.262865,0.223607,
 
37
        -0.794655,0.57735,-0.187593,-0.138196,0.425326,-0.223607,
 
38
        -0.982247,0,0.187592,-0.361804,0.262865,0.223607,
 
39
        -0.982247,0,0.187592,-0.447213,0,-0.223607,
 
40
        -0.982247,0,0.187592,-0.361804,-0.262865,0.223607,
 
41
        -0.794655,-0.57735,-0.187593,-0.138196,-0.425326,-0.223607,
 
42
        -0.794655,-0.57735,-0.187593,-0.361804,-0.262865,0.223607,
 
43
        -0.794655,-0.57735,-0.187593,-0.447213,0,-0.223607,
 
44
        -0.303531,-0.934172,0.187592,-0.361804,-0.262865,0.223607,
 
45
        -0.303531,-0.934172,0.187592,-0.138196,-0.425326,-0.223607,
 
46
        -0.303531,-0.934172,0.187592,0.138196,-0.425326,0.223607,
 
47
        0.303531,-0.934172,-0.187592,0.138196,-0.425326,0.223607,
 
48
        0.303531,-0.934172,-0.187592,-0.138196,-0.425326,-0.223607,
 
49
        0.303531,-0.934172,-0.187592,0.361804,-0.262865,-0.223607,
 
50
        0.607062,0,-0.794655,0,0,-0.5,
 
51
        0.607062,0,-0.794655,0.361804,0.262865,-0.223607,
 
52
        0.607062,0,-0.794655,0.361804,-0.262865,-0.223607,
 
53
        0.187593,0.57735,-0.794655,0.361804,0.262865,-0.223607,
 
54
        0.187593,0.57735,-0.794655,0,0,-0.5,
 
55
        0.187593,0.57735,-0.794655,-0.138196,0.425326,-0.223607,
 
56
        0.187593,-0.57735,-0.794655,0,0,-0.5,
 
57
        0.187593,-0.57735,-0.794655,0.361804,-0.262865,-0.223607,
 
58
        0.187593,-0.57735,-0.794655,-0.138196,-0.425326,-0.223607,
 
59
        -0.491123,0.356822,-0.794655,-0.138196,0.425326,-0.223607,
 
60
        -0.491123,0.356822,-0.794655,0,0,-0.5,
 
61
        -0.491123,0.356822,-0.794655,-0.447213,0,-0.223607,
 
62
        -0.491123,-0.356822,-0.794655,-0.447213,0,-0.223607,
 
63
        -0.491123,-0.356822,-0.794655,0,0,-0.5,
 
64
        -0.491123,-0.356822,-0.794655,-0.138196,-0.425326,-0.223607,
 
65
        0,0,1,0.223607,0.16246,0.361804,
 
66
        0,0,1,-0.08541,0.262865,0.361804,
 
67
        0,0,1,-0.276393,0,0.361804,
 
68
        0,0,1,0.223607,0.16246,0.361804,
 
69
        0,0,1,-0.276393,0,0.361804,
 
70
        0,0,1,-0.08541,-0.262865,0.361804,
 
71
        0,0,1,0.223607,0.16246,0.361804,
 
72
        0,0,1,-0.08541,-0.262865,0.361804,
 
73
        0,0,1,0.223607,-0.16246,0.361804,
 
74
        0.894427,0,0.447214,0.361804,-0.262865,0.08541,
 
75
        0.894427,0,0.447214,0.447213,0,-0.08541,
 
76
        0.894427,0,0.447214,0.361804,0.262865,0.08541,
 
77
        0.894428,0,0.447213,0.361804,-0.262865,0.08541,
 
78
        0.894428,0,0.447213,0.361804,0.262865,0.08541,
 
79
        0.894428,0,0.447213,0.223607,0.16246,0.361804,
 
80
        0.894428,0,0.447213,0.361804,-0.262865,0.08541,
 
81
        0.894428,0,0.447213,0.223607,0.16246,0.361804,
 
82
        0.894428,0,0.447213,0.223607,-0.16246,0.361804,
 
83
        0.276393,0.85065,0.447214,0.361804,0.262865,0.08541,
 
84
        0.276393,0.85065,0.447214,0.138196,0.425326,-0.08541,
 
85
        0.276393,0.85065,0.447214,-0.138196,0.425326,0.08541,
 
86
        0.276393,0.850651,0.447213,0.361804,0.262865,0.08541,
 
87
        0.276393,0.850651,0.447213,-0.138196,0.425326,0.08541,
 
88
        0.276393,0.850651,0.447213,-0.08541,0.262865,0.361804,
 
89
        0.276393,0.850652,0.447212,0.361804,0.262865,0.08541,
 
90
        0.276393,0.850652,0.447212,-0.08541,0.262865,0.361804,
 
91
        0.276393,0.850652,0.447212,0.223607,0.16246,0.361804,
 
92
        -0.723606,0.525731,0.447215,-0.138196,0.425326,0.08541,
 
93
        -0.723606,0.525731,0.447215,-0.361804,0.262865,-0.08541,
 
94
        -0.723606,0.525731,0.447215,-0.447213,0,0.08541,
 
95
        -0.723607,0.525731,0.447213,-0.138196,0.425326,0.08541,
 
96
        -0.723607,0.525731,0.447213,-0.447213,0,0.08541,
 
97
        -0.723607,0.525731,0.447213,-0.276393,0,0.361804,
 
98
        -0.723607,0.525731,0.447214,-0.138196,0.425326,0.08541,
 
99
        -0.723607,0.525731,0.447214,-0.276393,0,0.361804,
 
100
        -0.723607,0.525731,0.447214,-0.08541,0.262865,0.361804,
 
101
        -0.723606,-0.525731,0.447215,-0.447213,0,0.08541,
 
102
        -0.723606,-0.525731,0.447215,-0.361804,-0.262865,-0.08541,
 
103
        -0.723606,-0.525731,0.447215,-0.138196,-0.425326,0.08541,
 
104
        -0.723607,-0.525731,0.447214,-0.447213,0,0.08541,
 
105
        -0.723607,-0.525731,0.447214,-0.138196,-0.425326,0.08541,
 
106
        -0.723607,-0.525731,0.447214,-0.08541,-0.262865,0.361804,
 
107
        -0.723607,-0.525731,0.447213,-0.447213,0,0.08541,
 
108
        -0.723607,-0.525731,0.447213,-0.08541,-0.262865,0.361804,
 
109
        -0.723607,-0.525731,0.447213,-0.276393,0,0.361804,
 
110
        0.276393,-0.85065,0.447214,-0.138196,-0.425326,0.08541,
 
111
        0.276393,-0.85065,0.447214,0.138196,-0.425326,-0.08541,
 
112
        0.276393,-0.85065,0.447214,0.361804,-0.262865,0.08541,
 
113
        0.276394,-0.850651,0.447213,-0.138196,-0.425326,0.08541,
 
114
        0.276394,-0.850651,0.447213,0.361804,-0.262865,0.08541,
 
115
        0.276394,-0.850651,0.447213,0.223607,-0.16246,0.361804,
 
116
        0.276393,-0.850651,0.447214,-0.138196,-0.425326,0.08541,
 
117
        0.276393,-0.850651,0.447214,0.223607,-0.16246,0.361804,
 
118
        0.276393,-0.850651,0.447214,-0.08541,-0.262865,0.361804,
 
119
        0.723607,0.525731,-0.447213,0.447213,0,-0.08541,
 
120
        0.723607,0.525731,-0.447213,0.276393,0,-0.361804,
 
121
        0.723607,0.525731,-0.447213,0.08541,0.262865,-0.361804,
 
122
        0.723607,0.525731,-0.447214,0.447213,0,-0.08541,
 
123
        0.723607,0.525731,-0.447214,0.08541,0.262865,-0.361804,
 
124
        0.723607,0.525731,-0.447214,0.138196,0.425326,-0.08541,
 
125
        0.723606,0.525731,-0.447215,0.447213,0,-0.08541,
 
126
        0.723606,0.525731,-0.447215,0.138196,0.425326,-0.08541,
 
127
        0.723606,0.525731,-0.447215,0.361804,0.262865,0.08541,
 
128
        0.723606,-0.525732,-0.447214,0.361804,-0.262865,0.08541,
 
129
        0.723606,-0.525732,-0.447214,0.138196,-0.425326,-0.08541,
 
130
        0.723606,-0.525732,-0.447214,0.08541,-0.262865,-0.361804,
 
131
        0.723607,-0.525731,-0.447214,0.361804,-0.262865,0.08541,
 
132
        0.723607,-0.525731,-0.447214,0.08541,-0.262865,-0.361804,
 
133
        0.723607,-0.525731,-0.447214,0.276393,0,-0.361804,
 
134
        0.723607,-0.52573,-0.447214,0.361804,-0.262865,0.08541,
 
135
        0.723607,-0.52573,-0.447214,0.276393,0,-0.361804,
 
136
        0.723607,-0.52573,-0.447214,0.447213,0,-0.08541,
 
137
        -0.276393,0.850651,-0.447214,0.138196,0.425326,-0.08541,
 
138
        -0.276393,0.850651,-0.447214,0.08541,0.262865,-0.361804,
 
139
        -0.276393,0.850651,-0.447214,-0.223607,0.16246,-0.361804,
 
140
        -0.276394,0.850651,-0.447213,0.138196,0.425326,-0.08541,
 
141
        -0.276394,0.850651,-0.447213,-0.223607,0.16246,-0.361804,
 
142
        -0.276394,0.850651,-0.447213,-0.361804,0.262865,-0.08541,
 
143
        -0.276393,0.85065,-0.447214,0.138196,0.425326,-0.08541,
 
144
        -0.276393,0.85065,-0.447214,-0.361804,0.262865,-0.08541,
 
145
        -0.276393,0.85065,-0.447214,-0.138196,0.425326,0.08541,
 
146
        -0.894428,0,-0.447213,-0.361804,0.262865,-0.08541,
 
147
        -0.894428,0,-0.447213,-0.223607,0.16246,-0.361804,
 
148
        -0.894428,0,-0.447213,-0.223607,-0.16246,-0.361804,
 
149
        -0.894428,0,-0.447213,-0.361804,0.262865,-0.08541,
 
150
        -0.894428,0,-0.447213,-0.223607,-0.16246,-0.361804,
 
151
        -0.894428,0,-0.447213,-0.361804,-0.262865,-0.08541,
 
152
        -0.894427,0,-0.447214,-0.361804,0.262865,-0.08541,
 
153
        -0.894427,0,-0.447214,-0.361804,-0.262865,-0.08541,
 
154
        -0.894427,0,-0.447214,-0.447213,0,0.08541,
 
155
        -0.276393,-0.850652,-0.447212,-0.361804,-0.262865,-0.08541,
 
156
        -0.276393,-0.850652,-0.447212,-0.223607,-0.16246,-0.361804,
 
157
        -0.276393,-0.850652,-0.447212,0.08541,-0.262865,-0.361804,
 
158
        -0.276393,-0.850651,-0.447213,-0.361804,-0.262865,-0.08541,
 
159
        -0.276393,-0.850651,-0.447213,0.08541,-0.262865,-0.361804,
 
160
        -0.276393,-0.850651,-0.447213,0.138196,-0.425326,-0.08541,
 
161
        -0.276393,-0.85065,-0.447214,-0.361804,-0.262865,-0.08541,
 
162
        -0.276393,-0.85065,-0.447214,0.138196,-0.425326,-0.08541,
 
163
        -0.276393,-0.85065,-0.447214,-0.138196,-0.425326,0.08541,
 
164
        0,0,-1,0.08541,-0.262865,-0.361804,
 
165
        0,0,-1,-0.223607,-0.16246,-0.361804,
 
166
        0,0,-1,-0.223607,0.16246,-0.361804,
 
167
        0,0,-1,0.08541,-0.262865,-0.361804,
 
168
        0,0,-1,-0.223607,0.16246,-0.361804,
 
169
        0,0,-1,0.08541,0.262865,-0.361804,
 
170
        0,0,-1,0.08541,-0.262865,-0.361804,
 
171
        0,0,-1,0.08541,0.262865,-0.361804,
 
172
        0,0,-1,0.276393,0,-0.361804
 
173
};
 
174
static const struct gllist frame={GL_N3F_V3F,GL_TRIANGLES,168,data,NULL};
 
175
const struct gllist *tronbit_idle2=&frame;