From http://www.jwz.org/xscreensaver/xscreensaver-5.30.tar.gz
[xscreensaver] / hacks / glx / toaster_slots.c
index 3def0ffb3c333aec601d658707c28b6646a8984a..aaf7b23ddba44a2a9764c1b54abf143fe20f288f 100644 (file)
@@ -1,11 +1,16 @@
+/* Generated from "toaster_slots.dxf" on Aug-22-2014.
+   Smoothed vertex normals. Normalized to unit bounding box.
+ */
+
 #include "gllist.h"
-static const float data[]={
-       0.998257,-0.059011,0,-0.18331,-0.276766,0.209005,
+
+static const float toaster_slots_data[] = {
+       0.999485,-0.028052,-0.015598,-0.18331,-0.276766,0.209005,
        0.998257,-0.059011,0,-0.196507,-0.5,0.123502,
-       0.998257,-0.059011,0,-0.196507,-0.5,-0.235113,
-       0.99951,0.002941,-0.031177,-0.18331,0,0.235113,
-       0.99951,0.002941,-0.031177,-0.18331,-0.276766,0.209005,
-       0.99951,0.002941,-0.031177,-0.196507,-0.5,-0.235113,
+       0.99963,-0.0187,-0.019753,-0.196507,-0.5,-0.235113,
+       0.999546,0,-0.030136,-0.18331,0,0.235113,
+       0.999485,-0.028052,-0.015598,-0.18331,-0.276766,0.209005,
+       0.99963,-0.0187,-0.019753,-0.196507,-0.5,-0.235113,
        0,1,0,-0.059418,-0.5,0.123502,
        0,1,0,-0.058641,-0.5,-0.235113,
        0,1,0,-0.196507,-0.5,-0.235113,
@@ -13,64 +18,64 @@ static const float data[]={
        0,1,0,-0.196507,-0.5,-0.235113,
        0,1,0,-0.196507,-0.5,0.123502,
        0.998257,0.059011,0,-0.196507,0.5,0.123502,
-       0.998257,0.059011,0,-0.18331,0.276766,0.209005,
-       0.998257,0.059011,0,-0.196507,0.5,-0.235113,
-       0.99951,-0.002941,-0.031177,-0.196507,0.5,-0.235113,
-       0.99951,-0.002941,-0.031177,-0.18331,0.276766,0.209005,
-       0.99951,-0.002941,-0.031177,-0.18331,0,0.235113,
+       0.999485,0.028052,-0.015598,-0.18331,0.276766,0.209005,
+       0.99963,0.0187,-0.019753,-0.196507,0.5,-0.235113,
+       0.99963,0.0187,-0.019753,-0.196507,0.5,-0.235113,
+       0.999485,0.028052,-0.015598,-0.18331,0.276766,0.209005,
+       0.999546,0,-0.030136,-0.18331,0,0.235113,
        0,-1,0,-0.196507,0.5,0.123502,
        0,-1,0,-0.196507,0.5,-0.235113,
        0,-1,0,-0.059418,0.5,0.123502,
-       0.999606,0,-0.028053,-0.196507,0.5,-0.235113,
-       0.999606,0,-0.028053,-0.18331,0,0.235113,
-       0.999606,0,-0.028053,-0.196507,-0.5,-0.235113,
-       -0.99999,-0.003119,-0.003317,-0.058641,0.5,-0.235113,
-       -0.99999,-0.003119,-0.003317,-0.058641,0,0.235113,
-       -0.99999,-0.003119,-0.003317,-0.059418,0.276766,0.209005,
-       -0.999997,0.00083,-0.002166,-0.059418,-0.276766,0.209005,
-       -0.999997,0.00083,-0.002166,-0.058641,-0.5,-0.235113,
+       0.99963,0.0187,-0.019753,-0.196507,0.5,-0.235113,
+       0.999546,0,-0.030136,-0.18331,0,0.235113,
+       0.99963,-0.0187,-0.019753,-0.196507,-0.5,-0.235113,
+       -0.999997,-0.001316,-0.001828,-0.058641,0.5,-0.235113,
+       -0.999998,0,-0.002211,-0.058641,0,0.235113,
+       -0.999994,-0.001974,-0.002741,-0.059418,0.276766,0.209005,
+       -0.999994,0.001974,-0.002741,-0.059418,-0.276766,0.209005,
+       -0.999997,0.001316,-0.001828,-0.058641,-0.5,-0.235113,
        -0.999997,0.00083,-0.002166,-0.059418,-0.5,0.123502,
-       -0.99999,0.003119,-0.003317,-0.058641,0,0.235113,
-       -0.99999,0.003119,-0.003317,-0.058641,-0.5,-0.235113,
-       -0.99999,0.003119,-0.003317,-0.059418,-0.276766,0.209005,
-       -1,0,0,-0.058641,0.5,-0.235113,
-       -1,0,0,-0.058641,-0.5,-0.235113,
-       -1,0,0,-0.058641,0,0.235113,
-       0,-0,1,-0.058641,-0.5,-0.235113,
-       0,-0,1,-0.058641,0.5,-0.235113,
-       0,-0,1,-0.196507,0.5,-0.235113,
+       -0.999998,0,-0.002211,-0.058641,0,0.235113,
+       -0.999997,0.001316,-0.001828,-0.058641,-0.5,-0.235113,
+       -0.999994,0.001974,-0.002741,-0.059418,-0.276766,0.209005,
+       -0.999997,-0.001316,-0.001828,-0.058641,0.5,-0.235113,
+       -0.999997,0.001316,-0.001828,-0.058641,-0.5,-0.235113,
+       -0.999998,0,-0.002211,-0.058641,0,0.235113,
+       0,0,1,-0.058641,-0.5,-0.235113,
+       0,0,1,-0.058641,0.5,-0.235113,
+       0,0,1,-0.196507,0.5,-0.235113,
        0,0,1,-0.058641,-0.5,-0.235113,
        0,0,1,-0.196507,0.5,-0.235113,
        0,0,1,-0.196507,-0.5,-0.235113,
-       0,-1,-0,-0.059418,0.5,0.123502,
-       0,-1,-0,-0.196507,0.5,-0.235113,
-       0,-1,-0,-0.058641,0.5,-0.235113,
-       -0.999997,-0.00083,-0.002166,-0.058641,0.5,-0.235113,
-       -0.999997,-0.00083,-0.002166,-0.059418,0.276766,0.209005,
+       0,-1,0,-0.059418,0.5,0.123502,
+       0,-1,0,-0.196507,0.5,-0.235113,
+       0,-1,0,-0.058641,0.5,-0.235113,
+       -0.999997,-0.001316,-0.001828,-0.058641,0.5,-0.235113,
+       -0.999994,-0.001974,-0.002741,-0.059418,0.276766,0.209005,
        -0.999997,-0.00083,-0.002166,-0.059418,0.5,0.123502,
-       1,0,0,0.058641,0.5,-0.235113,
-       1,0,0,0.058641,0,0.235113,
-       1,0,0,0.058641,-0.5,-0.235113,
-       0.999997,0.00083,-0.002166,0.059418,-0.276766,0.209005,
+       0.999997,-0.001316,-0.001828,0.058641,0.5,-0.235113,
+       0.999998,0,-0.002211,0.058641,0,0.235113,
+       0.999997,0.001316,-0.001828,0.058641,-0.5,-0.235113,
+       0.999994,0.001974,-0.002741,0.059418,-0.276766,0.209005,
        0.999997,0.00083,-0.002166,0.059418,-0.5,0.123502,
-       0.999997,0.00083,-0.002166,0.058641,-0.5,-0.235113,
-       0.99999,-0.003119,-0.003317,0.058641,0.5,-0.235113,
-       0.99999,-0.003119,-0.003317,0.059418,0.276766,0.209005,
-       0.99999,-0.003119,-0.003317,0.058641,0,0.235113,
-       0.99999,0.003119,-0.003317,0.058641,0,0.235113,
-       0.99999,0.003119,-0.003317,0.059418,-0.276766,0.209005,
-       0.99999,0.003119,-0.003317,0.058641,-0.5,-0.235113,
-       -0.998257,0.059011,0,0.196507,0.5,-0.235113,
-       -0.998257,0.059011,0,0.18331,0.276766,0.209005,
+       0.999997,0.001316,-0.001828,0.058641,-0.5,-0.235113,
+       0.999997,-0.001316,-0.001828,0.058641,0.5,-0.235113,
+       0.999994,-0.001974,-0.002741,0.059418,0.276766,0.209005,
+       0.999998,0,-0.002211,0.058641,0,0.235113,
+       0.999998,0,-0.002211,0.058641,0,0.235113,
+       0.999994,0.001974,-0.002741,0.059418,-0.276766,0.209005,
+       0.999997,0.001316,-0.001828,0.058641,-0.5,-0.235113,
+       -0.99963,0.0187,-0.019753,0.196507,0.5,-0.235113,
+       -0.999485,0.028052,-0.015598,0.18331,0.276766,0.209005,
        -0.998257,0.059011,0,0.196507,0.5,0.123502,
-       -0.99951,0.002941,-0.031177,0.18331,0,0.235113,
-       -0.99951,0.002941,-0.031177,0.196507,-0.5,-0.235113,
-       -0.99951,0.002941,-0.031177,0.18331,-0.276766,0.209005,
+       -0.999546,0,-0.030136,0.18331,0,0.235113,
+       -0.99963,-0.0187,-0.019753,0.196507,-0.5,-0.235113,
+       -0.999485,-0.028052,-0.015598,0.18331,-0.276766,0.209005,
        0,1,0,0.059418,-0.5,0.123502,
        0,1,0,0.196507,-0.5,-0.235113,
        0,1,0,0.058641,-0.5,-0.235113,
-       -0.998257,-0.059011,0,0.18331,-0.276766,0.209005,
-       -0.998257,-0.059011,0,0.196507,-0.5,-0.235113,
+       -0.999485,-0.028052,-0.015598,0.18331,-0.276766,0.209005,
+       -0.99963,-0.0187,-0.019753,0.196507,-0.5,-0.235113,
        -0.998257,-0.059011,0,0.196507,-0.5,0.123502,
        0,-1,0,0.059418,0.5,0.123502,
        0,-1,0,0.196507,0.5,-0.235113,
@@ -78,12 +83,12 @@ static const float data[]={
        0,1,0,0.196507,-0.5,0.123502,
        0,1,0,0.196507,-0.5,-0.235113,
        0,1,0,0.059418,-0.5,0.123502,
-       -0.99951,-0.002941,-0.031177,0.196507,0.5,-0.235113,
-       -0.99951,-0.002941,-0.031177,0.18331,0,0.235113,
-       -0.99951,-0.002941,-0.031177,0.18331,0.276766,0.209005,
-       -0.999606,-0,-0.028053,0.196507,0.5,-0.235113,
-       -0.999606,-0,-0.028053,0.196507,-0.5,-0.235113,
-       -0.999606,-0,-0.028053,0.18331,0,0.235113,
+       -0.99963,0.0187,-0.019753,0.196507,0.5,-0.235113,
+       -0.999546,0,-0.030136,0.18331,0,0.235113,
+       -0.999485,0.028052,-0.015598,0.18331,0.276766,0.209005,
+       -0.99963,0.0187,-0.019753,0.196507,0.5,-0.235113,
+       -0.99963,-0.0187,-0.019753,0.196507,-0.5,-0.235113,
+       -0.999546,0,-0.030136,0.18331,0,0.235113,
        0,0,1,0.196507,0.5,-0.235113,
        0,0,1,0.058641,-0.5,-0.235113,
        0,0,1,0.196507,-0.5,-0.235113,
@@ -91,11 +96,11 @@ static const float data[]={
        0,0,1,0.058641,0.5,-0.235113,
        0,0,1,0.058641,-0.5,-0.235113,
        0.999997,-0.00083,-0.002166,0.059418,0.5,0.123502,
-       0.999997,-0.00083,-0.002166,0.059418,0.276766,0.209005,
-       0.999997,-0.00083,-0.002166,0.058641,0.5,-0.235113,
-       0,-1,-0,0.059418,0.5,0.123502,
-       0,-1,-0,0.058641,0.5,-0.235113,
-       0,-1,-0,0.196507,0.5,-0.235113
+       0.999994,-0.001974,-0.002741,0.059418,0.276766,0.209005,
+       0.999997,-0.001316,-0.001828,0.058641,0.5,-0.235113,
+       0,-1,0,0.059418,0.5,0.123502,
+       0,-1,0,0.058641,0.5,-0.235113,
+       0,-1,0,0.196507,0.5,-0.235113
 };
-static const struct gllist frame={GL_N3F_V3F,GL_TRIANGLES,96,data,NULL};
-const struct gllist *toaster_slots=&frame;
+static const struct gllist toaster_slots_frame = { GL_N3F_V3F, GL_TRIANGLES, 96, toaster_slots_data, 0 };
+const struct gllist *toaster_slots = &toaster_slots_frame;