diff options
Diffstat (limited to 'hacks/glx/tronbit_idle2.c')
-rw-r--r-- | hacks/glx/tronbit_idle2.c | 175 |
1 files changed, 175 insertions, 0 deletions
diff --git a/hacks/glx/tronbit_idle2.c b/hacks/glx/tronbit_idle2.c new file mode 100644 index 0000000..8ee0380 --- /dev/null +++ b/hacks/glx/tronbit_idle2.c @@ -0,0 +1,175 @@ +/* even parity = compound of icosahedron and dodecahedron */ + +#include "gllist.h" +static const float data[]={ + 0.491123,0.356822,0.794655,0.138196,0.425326,0.223607, + 0.491123,0.356822,0.794655,0,0,0.5, + 0.491123,0.356822,0.794655,0.447213,0,0.223607, + -0.187593,0.57735,0.794655,-0.361804,0.262865,0.223607, + -0.187593,0.57735,0.794655,0,0,0.5, + -0.187593,0.57735,0.794655,0.138196,0.425326,0.223607, + -0.607062,0,0.794655,-0.361804,-0.262865,0.223607, + -0.607062,0,0.794655,0,0,0.5, + -0.607062,0,0.794655,-0.361804,0.262865,0.223607, + -0.187593,-0.57735,0.794655,0.138196,-0.425326,0.223607, + -0.187593,-0.57735,0.794655,0,0,0.5, + -0.187593,-0.57735,0.794655,-0.361804,-0.262865,0.223607, + 0.491123,-0.356822,0.794655,0,0,0.5, + 0.491123,-0.356822,0.794655,0.138196,-0.425326,0.223607, + 0.491123,-0.356822,0.794655,0.447213,0,0.223607, + 0.794655,-0.57735,0.187593,0.361804,-0.262865,-0.223607, + 0.794655,-0.57735,0.187593,0.447213,0,0.223607, + 0.794655,-0.57735,0.187593,0.138196,-0.425326,0.223607, + 0.982247,0,-0.187592,0.447213,0,0.223607, + 0.982247,0,-0.187592,0.361804,-0.262865,-0.223607, + 0.982247,0,-0.187592,0.361804,0.262865,-0.223607, + 0.794655,0.57735,0.187593,0.447213,0,0.223607, + 0.794655,0.57735,0.187593,0.361804,0.262865,-0.223607, + 0.794655,0.57735,0.187593,0.138196,0.425326,0.223607, + 0.303531,0.934172,-0.187592,-0.138196,0.425326,-0.223607, + 0.303531,0.934172,-0.187592,0.138196,0.425326,0.223607, + 0.303531,0.934172,-0.187592,0.361804,0.262865,-0.223607, + -0.303531,0.934172,0.187592,0.138196,0.425326,0.223607, + -0.303531,0.934172,0.187592,-0.138196,0.425326,-0.223607, + -0.303531,0.934172,0.187592,-0.361804,0.262865,0.223607, + -0.794655,0.57735,-0.187593,-0.447213,0,-0.223607, + -0.794655,0.57735,-0.187593,-0.361804,0.262865,0.223607, + -0.794655,0.57735,-0.187593,-0.138196,0.425326,-0.223607, + -0.982247,0,0.187592,-0.361804,0.262865,0.223607, + -0.982247,0,0.187592,-0.447213,0,-0.223607, + -0.982247,0,0.187592,-0.361804,-0.262865,0.223607, + -0.794655,-0.57735,-0.187593,-0.138196,-0.425326,-0.223607, + -0.794655,-0.57735,-0.187593,-0.361804,-0.262865,0.223607, + -0.794655,-0.57735,-0.187593,-0.447213,0,-0.223607, + -0.303531,-0.934172,0.187592,-0.361804,-0.262865,0.223607, + -0.303531,-0.934172,0.187592,-0.138196,-0.425326,-0.223607, + -0.303531,-0.934172,0.187592,0.138196,-0.425326,0.223607, + 0.303531,-0.934172,-0.187592,0.138196,-0.425326,0.223607, + 0.303531,-0.934172,-0.187592,-0.138196,-0.425326,-0.223607, + 0.303531,-0.934172,-0.187592,0.361804,-0.262865,-0.223607, + 0.607062,0,-0.794655,0,0,-0.5, + 0.607062,0,-0.794655,0.361804,0.262865,-0.223607, + 0.607062,0,-0.794655,0.361804,-0.262865,-0.223607, + 0.187593,0.57735,-0.794655,0.361804,0.262865,-0.223607, + 0.187593,0.57735,-0.794655,0,0,-0.5, + 0.187593,0.57735,-0.794655,-0.138196,0.425326,-0.223607, + 0.187593,-0.57735,-0.794655,0,0,-0.5, + 0.187593,-0.57735,-0.794655,0.361804,-0.262865,-0.223607, + 0.187593,-0.57735,-0.794655,-0.138196,-0.425326,-0.223607, + -0.491123,0.356822,-0.794655,-0.138196,0.425326,-0.223607, + -0.491123,0.356822,-0.794655,0,0,-0.5, + -0.491123,0.356822,-0.794655,-0.447213,0,-0.223607, + -0.491123,-0.356822,-0.794655,-0.447213,0,-0.223607, + -0.491123,-0.356822,-0.794655,0,0,-0.5, + -0.491123,-0.356822,-0.794655,-0.138196,-0.425326,-0.223607, + 0,0,1,0.223607,0.16246,0.361804, + 0,0,1,-0.08541,0.262865,0.361804, + 0,0,1,-0.276393,0,0.361804, + 0,0,1,0.223607,0.16246,0.361804, + 0,0,1,-0.276393,0,0.361804, + 0,0,1,-0.08541,-0.262865,0.361804, + 0,0,1,0.223607,0.16246,0.361804, + 0,0,1,-0.08541,-0.262865,0.361804, + 0,0,1,0.223607,-0.16246,0.361804, + 0.894427,0,0.447214,0.361804,-0.262865,0.08541, + 0.894427,0,0.447214,0.447213,0,-0.08541, + 0.894427,0,0.447214,0.361804,0.262865,0.08541, + 0.894428,0,0.447213,0.361804,-0.262865,0.08541, + 0.894428,0,0.447213,0.361804,0.262865,0.08541, + 0.894428,0,0.447213,0.223607,0.16246,0.361804, + 0.894428,0,0.447213,0.361804,-0.262865,0.08541, + 0.894428,0,0.447213,0.223607,0.16246,0.361804, + 0.894428,0,0.447213,0.223607,-0.16246,0.361804, + 0.276393,0.85065,0.447214,0.361804,0.262865,0.08541, + 0.276393,0.85065,0.447214,0.138196,0.425326,-0.08541, + 0.276393,0.85065,0.447214,-0.138196,0.425326,0.08541, + 0.276393,0.850651,0.447213,0.361804,0.262865,0.08541, + 0.276393,0.850651,0.447213,-0.138196,0.425326,0.08541, + 0.276393,0.850651,0.447213,-0.08541,0.262865,0.361804, + 0.276393,0.850652,0.447212,0.361804,0.262865,0.08541, + 0.276393,0.850652,0.447212,-0.08541,0.262865,0.361804, + 0.276393,0.850652,0.447212,0.223607,0.16246,0.361804, + -0.723606,0.525731,0.447215,-0.138196,0.425326,0.08541, + -0.723606,0.525731,0.447215,-0.361804,0.262865,-0.08541, + -0.723606,0.525731,0.447215,-0.447213,0,0.08541, + -0.723607,0.525731,0.447213,-0.138196,0.425326,0.08541, + -0.723607,0.525731,0.447213,-0.447213,0,0.08541, + -0.723607,0.525731,0.447213,-0.276393,0,0.361804, + -0.723607,0.525731,0.447214,-0.138196,0.425326,0.08541, + -0.723607,0.525731,0.447214,-0.276393,0,0.361804, + -0.723607,0.525731,0.447214,-0.08541,0.262865,0.361804, + -0.723606,-0.525731,0.447215,-0.447213,0,0.08541, + -0.723606,-0.525731,0.447215,-0.361804,-0.262865,-0.08541, + -0.723606,-0.525731,0.447215,-0.138196,-0.425326,0.08541, + -0.723607,-0.525731,0.447214,-0.447213,0,0.08541, + -0.723607,-0.525731,0.447214,-0.138196,-0.425326,0.08541, + -0.723607,-0.525731,0.447214,-0.08541,-0.262865,0.361804, + -0.723607,-0.525731,0.447213,-0.447213,0,0.08541, + -0.723607,-0.525731,0.447213,-0.08541,-0.262865,0.361804, + -0.723607,-0.525731,0.447213,-0.276393,0,0.361804, + 0.276393,-0.85065,0.447214,-0.138196,-0.425326,0.08541, + 0.276393,-0.85065,0.447214,0.138196,-0.425326,-0.08541, + 0.276393,-0.85065,0.447214,0.361804,-0.262865,0.08541, + 0.276394,-0.850651,0.447213,-0.138196,-0.425326,0.08541, + 0.276394,-0.850651,0.447213,0.361804,-0.262865,0.08541, + 0.276394,-0.850651,0.447213,0.223607,-0.16246,0.361804, + 0.276393,-0.850651,0.447214,-0.138196,-0.425326,0.08541, + 0.276393,-0.850651,0.447214,0.223607,-0.16246,0.361804, + 0.276393,-0.850651,0.447214,-0.08541,-0.262865,0.361804, + 0.723607,0.525731,-0.447213,0.447213,0,-0.08541, + 0.723607,0.525731,-0.447213,0.276393,0,-0.361804, + 0.723607,0.525731,-0.447213,0.08541,0.262865,-0.361804, + 0.723607,0.525731,-0.447214,0.447213,0,-0.08541, + 0.723607,0.525731,-0.447214,0.08541,0.262865,-0.361804, + 0.723607,0.525731,-0.447214,0.138196,0.425326,-0.08541, + 0.723606,0.525731,-0.447215,0.447213,0,-0.08541, + 0.723606,0.525731,-0.447215,0.138196,0.425326,-0.08541, + 0.723606,0.525731,-0.447215,0.361804,0.262865,0.08541, + 0.723606,-0.525732,-0.447214,0.361804,-0.262865,0.08541, + 0.723606,-0.525732,-0.447214,0.138196,-0.425326,-0.08541, + 0.723606,-0.525732,-0.447214,0.08541,-0.262865,-0.361804, + 0.723607,-0.525731,-0.447214,0.361804,-0.262865,0.08541, + 0.723607,-0.525731,-0.447214,0.08541,-0.262865,-0.361804, + 0.723607,-0.525731,-0.447214,0.276393,0,-0.361804, + 0.723607,-0.52573,-0.447214,0.361804,-0.262865,0.08541, + 0.723607,-0.52573,-0.447214,0.276393,0,-0.361804, + 0.723607,-0.52573,-0.447214,0.447213,0,-0.08541, + -0.276393,0.850651,-0.447214,0.138196,0.425326,-0.08541, + -0.276393,0.850651,-0.447214,0.08541,0.262865,-0.361804, + -0.276393,0.850651,-0.447214,-0.223607,0.16246,-0.361804, + -0.276394,0.850651,-0.447213,0.138196,0.425326,-0.08541, + -0.276394,0.850651,-0.447213,-0.223607,0.16246,-0.361804, + -0.276394,0.850651,-0.447213,-0.361804,0.262865,-0.08541, + -0.276393,0.85065,-0.447214,0.138196,0.425326,-0.08541, + -0.276393,0.85065,-0.447214,-0.361804,0.262865,-0.08541, + -0.276393,0.85065,-0.447214,-0.138196,0.425326,0.08541, + -0.894428,0,-0.447213,-0.361804,0.262865,-0.08541, + -0.894428,0,-0.447213,-0.223607,0.16246,-0.361804, + -0.894428,0,-0.447213,-0.223607,-0.16246,-0.361804, + -0.894428,0,-0.447213,-0.361804,0.262865,-0.08541, + -0.894428,0,-0.447213,-0.223607,-0.16246,-0.361804, + -0.894428,0,-0.447213,-0.361804,-0.262865,-0.08541, + -0.894427,0,-0.447214,-0.361804,0.262865,-0.08541, + -0.894427,0,-0.447214,-0.361804,-0.262865,-0.08541, + -0.894427,0,-0.447214,-0.447213,0,0.08541, + -0.276393,-0.850652,-0.447212,-0.361804,-0.262865,-0.08541, + -0.276393,-0.850652,-0.447212,-0.223607,-0.16246,-0.361804, + -0.276393,-0.850652,-0.447212,0.08541,-0.262865,-0.361804, + -0.276393,-0.850651,-0.447213,-0.361804,-0.262865,-0.08541, + -0.276393,-0.850651,-0.447213,0.08541,-0.262865,-0.361804, + -0.276393,-0.850651,-0.447213,0.138196,-0.425326,-0.08541, + -0.276393,-0.85065,-0.447214,-0.361804,-0.262865,-0.08541, + -0.276393,-0.85065,-0.447214,0.138196,-0.425326,-0.08541, + -0.276393,-0.85065,-0.447214,-0.138196,-0.425326,0.08541, + 0,0,-1,0.08541,-0.262865,-0.361804, + 0,0,-1,-0.223607,-0.16246,-0.361804, + 0,0,-1,-0.223607,0.16246,-0.361804, + 0,0,-1,0.08541,-0.262865,-0.361804, + 0,0,-1,-0.223607,0.16246,-0.361804, + 0,0,-1,0.08541,0.262865,-0.361804, + 0,0,-1,0.08541,-0.262865,-0.361804, + 0,0,-1,0.08541,0.262865,-0.361804, + 0,0,-1,0.276393,0,-0.361804 +}; +static const struct gllist frame={GL_N3F_V3F,GL_TRIANGLES,168,data,NULL}; +const struct gllist *tronbit_idle2=&frame; |