From http://www.jwz.org/xscreensaver/xscreensaver-5.30.tar.gz
[xscreensaver] / hacks / glx / toaster_base.c
index 74771c8cc99a851608a2b7422b3d80b5c3d9ae48..a444ad57492f2045f504b223905aeab673ad96c3 100644 (file)
@@ -1,29 +1,34 @@
+/* Generated from "toaster_base.dxf" on Aug-22-2014.
+   Smoothed vertex normals. Normalized to unit bounding box.
+ */
+
 #include "gllist.h"
-static const float data[]={
-       -0.160224,0.987081,0,-0.242083,0.5,0.052679,
-       0.316307,0.948657,0,0.242083,0.5,-0.052679,
-       -0.160224,0.987081,0,-0.242083,0.5,-0.052679,
-       0.316307,0.948657,0,0.242083,0.5,-0.052679,
-       -0.160224,0.987081,0,-0.242083,0.5,0.052679,
-       0.316307,0.948657,0,0.242083,0.5,0.052679,
-       0.976722,0.21451,0,0.309535,0.432529,-0.052679,
-       1,0,0,0.357619,0,0.052679,
-       1,0,0,0.357619,0,-0.052679,
-       1,0,0,0.357619,0,0.052679,
-       0.976722,0.21451,0,0.309535,0.432529,-0.052679,
-       0.707166,0.707048,0,0.309535,0.432529,0.052679,
-       0.160224,-0.987081,0,0.242083,-0.5,0.052679,
-       -0.160224,-0.987081,0,-0.242083,-0.5,-0.052679,
-       0.160224,-0.987081,0,0.242083,-0.5,-0.052679,
-       -0.160224,-0.987081,0,-0.242083,-0.5,-0.052679,
-       0.160224,-0.987081,0,0.242083,-0.5,0.052679,
-       -0.707166,-0.707048,0,-0.242083,-0.5,0.052679,
-       -0.976722,0.21451,0,-0.309535,0.432529,0.052679,
-       -1,0,0,-0.357619,0,-0.052679,
-       -1,0,0,-0.357619,0,0.052679,
-       -1,0,0,-0.357619,0,-0.052679,
-       -0.976722,0.21451,0,-0.309535,0.432529,0.052679,
-       -0.584744,0.811218,0,-0.309535,0.432529,-0.052679,
+
+static const float toaster_base_data[] = {
+       -0.10666,0.994296,0,-0.242083,0.5,0.052679,
+       0.10666,0.994296,0,0.242083,0.5,-0.052679,
+       -0.21332,0.976982,0,-0.242083,0.5,-0.052679,
+       0.10666,0.994296,0,0.242083,0.5,-0.052679,
+       -0.10666,0.994296,0,-0.242083,0.5,0.052679,
+       0.213319,0.976983,0,0.242083,0.5,0.052679,
+       0.983679,0.17993,0,0.309535,0.432529,-0.052679,
+       0.999314,0.03703,0,0.357619,0,0.052679,
+       0.999314,-0.03703,0,0.357619,0,-0.052679,
+       0.999314,0.03703,0,0.357619,0,0.052679,
+       0.983679,0.17993,0,0.309535,0.432529,-0.052679,
+       0.968549,0.248824,0,0.309535,0.432529,0.052679,
+       0.10666,-0.994296,0,0.242083,-0.5,0.052679,
+       -0.10666,-0.994296,0,-0.242083,-0.5,-0.052679,
+       0.213319,-0.976983,0,0.242083,-0.5,-0.052679,
+       -0.10666,-0.994296,0,-0.242083,-0.5,-0.052679,
+       0.10666,-0.994296,0,0.242083,-0.5,0.052679,
+       -0.21332,-0.976982,0,-0.242083,-0.5,0.052679,
+       -0.983679,0.17993,0,-0.309535,0.432529,0.052679,
+       -0.999314,0.03703,0,-0.357619,0,-0.052679,
+       -0.999314,-0.03703,0,-0.357619,0,0.052679,
+       -0.999314,0.03703,0,-0.357619,0,-0.052679,
+       -0.983679,0.17993,0,-0.309535,0.432529,0.052679,
+       -0.968549,0.248824,0,-0.309535,0.432529,-0.052679,
        0,0,-1,-0.309535,0.432529,-0.052679,
        0,0,-1,-0.309535,-0.432529,-0.052679,
        0,0,-1,-0.357619,0,-0.052679,
@@ -32,94 +37,94 @@ static const float data[]={
        0,0,-1,-0.292672,0.483132,-0.052679,
        0,0,-1,-0.309535,-0.432529,-0.052679,
        0,0,-1,-0.292672,0.483132,-0.052679,
-       0,0,0,-0.292672,-0.483132,-0.052679,
-       0,0,0,-0.292672,-0.483132,-0.052679,
+       0,0,-1,-0.292672,-0.483132,-0.052679,
+       0,0,-1,-0.292672,-0.483132,-0.052679,
        0,0,-1,-0.292672,0.483132,-0.052679,
-       0,0,0,-0.242083,0.5,-0.052679,
-       0,0,0,-0.292672,-0.483132,-0.052679,
-       0,0,0,-0.242083,0.5,-0.052679,
+       0,0,-1,-0.242083,0.5,-0.052679,
+       0,0,-1,-0.292672,-0.483132,-0.052679,
+       0,0,-1,-0.242083,0.5,-0.052679,
        0,0,-1,-0.242083,-0.5,-0.052679,
        0,0,-1,-0.242083,-0.5,-0.052679,
-       0,0,0,-0.242083,0.5,-0.052679,
+       0,0,-1,-0.242083,0.5,-0.052679,
        0,0,-1,0.242083,0.5,-0.052679,
        0,0,-1,-0.242083,-0.5,-0.052679,
        0,0,-1,0.242083,0.5,-0.052679,
-       0,0,0,0.242083,-0.5,-0.052679,
-       0,0,0,0.242083,-0.5,-0.052679,
+       0,0,-1,0.242083,-0.5,-0.052679,
+       0,0,-1,0.242083,-0.5,-0.052679,
        0,0,-1,0.242083,0.5,-0.052679,
        0,0,-1,0.292672,-0.483132,-0.052679,
        0,0,-1,0.292672,-0.483132,-0.052679,
        0,0,-1,0.242083,0.5,-0.052679,
-       0,0,0,0.292672,0.483132,-0.052679,
+       0,0,-1,0.292672,0.483132,-0.052679,
        0,0,-1,0.292672,-0.483132,-0.052679,
-       0,0,0,0.292672,0.483132,-0.052679,
-       0,0,0,0.309535,-0.432529,-0.052679,
-       0,0,0,0.309535,-0.432529,-0.052679,
-       0,0,0,0.292672,0.483132,-0.052679,
+       0,0,-1,0.292672,0.483132,-0.052679,
+       0,0,-1,0.309535,-0.432529,-0.052679,
+       0,0,-1,0.309535,-0.432529,-0.052679,
+       0,0,-1,0.292672,0.483132,-0.052679,
        0,0,-1,0.309535,0.432529,-0.052679,
-       0,0,0,0.309535,-0.432529,-0.052679,
+       0,0,-1,0.309535,-0.432529,-0.052679,
        0,0,-1,0.309535,0.432529,-0.052679,
-       0,0,0,0.357619,0,-0.052679,
-       1,0,0,0.357619,0,-0.052679,
-       0.994254,-0.107045,0,0.309535,-0.432529,0.052679,
-       0.994254,-0.107045,0,0.309535,-0.432529,-0.052679,
-       0.994254,-0.107045,0,0.309535,-0.432529,0.052679,
-       1,0,0,0.357619,0,-0.052679,
-       1,0,0,0.357619,0,0.052679,
-       -1,0,0,-0.357619,0,0.052679,
-       -0.994254,-0.107045,0,-0.309535,-0.432529,-0.052679,
-       -0.994254,-0.107045,0,-0.309535,-0.432529,0.052679,
-       -0.994254,-0.107045,0,-0.309535,-0.432529,-0.052679,
-       -1,0,0,-0.357619,0,0.052679,
-       -1,0,0,-0.357619,0,-0.052679,
-       -0.994254,-0.107045,0,-0.309535,-0.432529,0.052679,
-       -0.707166,-0.707048,0,-0.292672,-0.483132,-0.052679,
-       -0.707166,-0.707048,0,-0.292672,-0.483132,0.052679,
-       -0.707166,-0.707048,0,-0.292672,-0.483132,-0.052679,
-       -0.994254,-0.107045,0,-0.309535,-0.432529,0.052679,
-       -0.994254,-0.107045,0,-0.309535,-0.432529,-0.052679,
-       -0.707166,-0.707048,0,-0.242083,-0.5,0.052679,
-       -0.707166,-0.707048,0,-0.292672,-0.483132,-0.052679,
-       -0.160224,-0.987081,0,-0.242083,-0.5,-0.052679,
-       -0.707166,-0.707048,0,-0.292672,-0.483132,-0.052679,
-       -0.707166,-0.707048,0,-0.242083,-0.5,0.052679,
-       -0.707166,-0.707048,0,-0.292672,-0.483132,0.052679,
-       0.994254,-0.107045,0,0.292672,-0.483132,0.052679,
-       0.160224,-0.987081,0,0.242083,-0.5,-0.052679,
-       0.707166,-0.707048,0,0.292672,-0.483132,-0.052679,
-       0.160224,-0.987081,0,0.242083,-0.5,-0.052679,
-       0.994254,-0.107045,0,0.292672,-0.483132,0.052679,
-       0.160224,-0.987081,0,0.242083,-0.5,0.052679,
-       0.994254,-0.107045,0,0.309535,-0.432529,-0.052679,
-       0.994254,-0.107045,0,0.292672,-0.483132,0.052679,
-       0.707166,-0.707048,0,0.292672,-0.483132,-0.052679,
-       0.994254,-0.107045,0,0.292672,-0.483132,0.052679,
-       0.994254,-0.107045,0,0.309535,-0.432529,-0.052679,
-       0.994254,-0.107045,0,0.309535,-0.432529,0.052679,
-       0.316307,0.948657,0,0.242083,0.5,0.052679,
-       0.707166,0.707048,0,0.292672,0.483132,-0.052679,
-       0.316307,0.948657,0,0.242083,0.5,-0.052679,
-       0.707166,0.707048,0,0.292672,0.483132,-0.052679,
-       0.316307,0.948657,0,0.242083,0.5,0.052679,
-       0.707166,0.707048,0,0.292672,0.483132,0.052679,
-       0.707166,0.707048,0,0.292672,0.483132,-0.052679,
-       0.707166,0.707048,0,0.309535,0.432529,0.052679,
-       0.976722,0.21451,0,0.309535,0.432529,-0.052679,
-       0.707166,0.707048,0,0.309535,0.432529,0.052679,
-       0.707166,0.707048,0,0.292672,0.483132,-0.052679,
-       0.707166,0.707048,0,0.292672,0.483132,0.052679,
-       -0.160224,0.987081,0,-0.292672,0.483132,0.052679,
-       -0.584744,0.811218,0,-0.309535,0.432529,-0.052679,
-       -0.976722,0.21451,0,-0.309535,0.432529,0.052679,
-       -0.584744,0.811218,0,-0.309535,0.432529,-0.052679,
-       -0.160224,0.987081,0,-0.292672,0.483132,0.052679,
-       -0.487642,0.873044,0,-0.292672,0.483132,-0.052679,
-       -0.160224,0.987081,0,-0.292672,0.483132,0.052679,
-       -0.160224,0.987081,0,-0.242083,0.5,-0.052679,
-       -0.487642,0.873044,0,-0.292672,0.483132,-0.052679,
-       -0.160224,0.987081,0,-0.242083,0.5,-0.052679,
-       -0.160224,0.987081,0,-0.292672,0.483132,0.052679,
-       -0.160224,0.987081,0,-0.242083,0.5,0.052679
+       0,0,-1,0.357619,0,-0.052679,
+       0.999314,-0.03703,0,0.357619,0,-0.052679,
+       0.983679,-0.17993,0,0.309535,-0.432529,0.052679,
+       0.968549,-0.248824,0,0.309535,-0.432529,-0.052679,
+       0.983679,-0.17993,0,0.309535,-0.432529,0.052679,
+       0.999314,-0.03703,0,0.357619,0,-0.052679,
+       0.999314,0.03703,0,0.357619,0,0.052679,
+       -0.999314,-0.03703,0,-0.357619,0,0.052679,
+       -0.983679,-0.17993,0,-0.309535,-0.432529,-0.052679,
+       -0.968549,-0.248824,0,-0.309535,-0.432529,0.052679,
+       -0.983679,-0.17993,0,-0.309535,-0.432529,-0.052679,
+       -0.999314,-0.03703,0,-0.357619,0,0.052679,
+       -0.999314,0.03703,0,-0.357619,0,-0.052679,
+       -0.968549,-0.248824,0,-0.309535,-0.432529,0.052679,
+       -0.948709,-0.316149,0,-0.292672,-0.483132,-0.052679,
+       -0.948709,-0.316149,0,-0.292672,-0.483132,0.052679,
+       -0.948709,-0.316149,0,-0.292672,-0.483132,-0.052679,
+       -0.968549,-0.248824,0,-0.309535,-0.432529,0.052679,
+       -0.983679,-0.17993,0,-0.309535,-0.432529,-0.052679,
+       -0.21332,-0.976982,0,-0.242083,-0.5,0.052679,
+       -0.316307,-0.948657,0,-0.292672,-0.483132,-0.052679,
+       -0.10666,-0.994296,0,-0.242083,-0.5,-0.052679,
+       -0.316307,-0.948657,0,-0.292672,-0.483132,-0.052679,
+       -0.21332,-0.976982,0,-0.242083,-0.5,0.052679,
+       -0.316307,-0.948657,0,-0.292672,-0.483132,0.052679,
+       0.316307,-0.948657,0,0.292672,-0.483132,0.052679,
+       0.213319,-0.976983,0,0.242083,-0.5,-0.052679,
+       0.316307,-0.948657,0,0.292672,-0.483132,-0.052679,
+       0.213319,-0.976983,0,0.242083,-0.5,-0.052679,
+       0.316307,-0.948657,0,0.292672,-0.483132,0.052679,
+       0.10666,-0.994296,0,0.242083,-0.5,0.052679,
+       0.968549,-0.248824,0,0.309535,-0.432529,-0.052679,
+       0.948709,-0.316149,0,0.292672,-0.483132,0.052679,
+       0.948709,-0.316149,0,0.292672,-0.483132,-0.052679,
+       0.948709,-0.316149,0,0.292672,-0.483132,0.052679,
+       0.968549,-0.248824,0,0.309535,-0.432529,-0.052679,
+       0.983679,-0.17993,0,0.309535,-0.432529,0.052679,
+       0.213319,0.976983,0,0.242083,0.5,0.052679,
+       0.316307,0.948657,0,0.292672,0.483132,-0.052679,
+       0.10666,0.994296,0,0.242083,0.5,-0.052679,
+       0.316307,0.948657,0,0.292672,0.483132,-0.052679,
+       0.213319,0.976983,0,0.242083,0.5,0.052679,
+       0.316307,0.948657,0,0.292672,0.483132,0.052679,
+       0.948709,0.316149,0,0.292672,0.483132,-0.052679,
+       0.968549,0.248824,0,0.309535,0.432529,0.052679,
+       0.983679,0.17993,0,0.309535,0.432529,-0.052679,
+       0.968549,0.248824,0,0.309535,0.432529,0.052679,
+       0.948709,0.316149,0,0.292672,0.483132,-0.052679,
+       0.948709,0.316149,0,0.292672,0.483132,0.052679,
+       -0.948709,0.316149,0,-0.292672,0.483132,0.052679,
+       -0.968549,0.248824,0,-0.309535,0.432529,-0.052679,
+       -0.983679,0.17993,0,-0.309535,0.432529,0.052679,
+       -0.968549,0.248824,0,-0.309535,0.432529,-0.052679,
+       -0.948709,0.316149,0,-0.292672,0.483132,0.052679,
+       -0.948709,0.316149,0,-0.292672,0.483132,-0.052679,
+       -0.316307,0.948657,0,-0.292672,0.483132,0.052679,
+       -0.21332,0.976982,0,-0.242083,0.5,-0.052679,
+       -0.316307,0.948657,0,-0.292672,0.483132,-0.052679,
+       -0.21332,0.976982,0,-0.242083,0.5,-0.052679,
+       -0.316307,0.948657,0,-0.292672,0.483132,0.052679,
+       -0.10666,0.994296,0,-0.242083,0.5,0.052679
 };
-static const struct gllist frame={GL_N3F_V3F,GL_TRIANGLES,120,data,NULL};
-const struct gllist *toaster_base=&frame;
+static const struct gllist toaster_base_frame = { GL_N3F_V3F, GL_TRIANGLES, 120, toaster_base_data, 0 };
+const struct gllist *toaster_base = &toaster_base_frame;