X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fglx%2Ftoaster_handle.c;h=f7c7c6b5e429da77ca946c8aa3134556530f743d;hp=89d30122feb7b82ba0196e980c7a62f41d0015ba;hb=6afd6db0ae9396cd7ff897ade597cd5483f49b0e;hpb=dba664f31aa87285db4d76cf8c5e66335299703a diff --git a/hacks/glx/toaster_handle.c b/hacks/glx/toaster_handle.c index 89d30122..f7c7c6b5 100644 --- a/hacks/glx/toaster_handle.c +++ b/hacks/glx/toaster_handle.c @@ -1,5 +1,10 @@ +/* Generated from "toaster_handle.dxf" on Aug-22-2014. + Smoothed vertex normals. Normalized to unit bounding box. + */ + #include "gllist.h" -static const float data[]={ + +static const float toaster_handle_data[] = { 0,0,1,0.5,-0.094169,0.035224, 0,0,1,-0.356403,0.038624,0.035224, 0,0,1,-0.5,-0.094169,0.035224, @@ -13,47 +18,47 @@ static const float data[]={ 0,0,1,0.5,-0.094169,0.035224, 0,0,1,0.356403,0.038624,0.035224, -0.678947,0.734187,0,-0.5,-0.094169,0.035224, - -0.354908,0.934901,0,-0.356403,0.038624,-0.035224, + -0.58038,0.814346,0,-0.356403,0.038624,-0.035224, -0.678947,0.734187,0,-0.5,-0.094169,-0.035224, - -0.354908,0.934901,0,-0.356403,0.038624,-0.035224, + -0.58038,0.814346,0,-0.356403,0.038624,-0.035224, -0.678947,0.734187,0,-0.5,-0.094169,0.035224, - -0.180414,0.983591,0,-0.356403,0.038624,0.035224, + -0.47058,0.882357,0,-0.356403,0.038624,0.035224, 0,0,-1,-0.356403,0.038624,-0.035224, - 0,0,0,0.5,-0.094169,-0.035224, + 0,0,-1,0.5,-0.094169,-0.035224, 0,0,-1,-0.5,-0.094169,-0.035224, - 0,0,0,0.5,-0.094169,-0.035224, + 0,0,-1,0.5,-0.094169,-0.035224, 0,0,-1,-0.356403,0.038624,-0.035224, - 0,0,0,-0.210084,0.094169,-0.035224, - 0,0,0,0.5,-0.094169,-0.035224, - 0,0,0,-0.210084,0.094169,-0.035224, - 0,0,0,0.210084,0.094169,-0.035224, - 0,0,0,0.5,-0.094169,-0.035224, - 0,0,0,0.210084,0.094169,-0.035224, - 0,0,0,0.356403,0.038624,-0.035224, - 0.526579,0.850126,0,0.356403,0.038624,0.035224, + 0,0,-1,-0.210084,0.094169,-0.035224, + 0,0,-1,0.5,-0.094169,-0.035224, + 0,0,-1,-0.210084,0.094169,-0.035224, + 0,0,-1,0.210084,0.094169,-0.035224, + 0,0,-1,0.5,-0.094169,-0.035224, + 0,0,-1,0.210084,0.094169,-0.035224, + 0,0,-1,0.356403,0.038624,-0.035224, + 0.58038,0.814346,0,0.356403,0.038624,0.035224, 0.678947,0.734187,0,0.5,-0.094169,-0.035224, - 0.526579,0.850126,0,0.356403,0.038624,-0.035224, + 0.47058,0.882357,0,0.356403,0.038624,-0.035224, 0.678947,0.734187,0,0.5,-0.094169,-0.035224, - 0.526579,0.850126,0,0.356403,0.038624,0.035224, + 0.58038,0.814346,0,0.356403,0.038624,0.035224, 0.678947,0.734187,0,0.5,-0.094169,0.035224, - -0.180414,0.983591,0,-0.210084,0.094169,0.035224, - 0.180414,0.983591,0,0.210084,0.094169,-0.035224, - -0.180414,0.983591,0,-0.210084,0.094169,-0.035224, - 0.180414,0.983591,0,0.210084,0.094169,-0.035224, - -0.180414,0.983591,0,-0.210084,0.094169,0.035224, - 0.526579,0.850126,0,0.210084,0.094169,0.035224, - 0.526579,0.850126,0,0.210084,0.094169,0.035224, - 0.526579,0.850126,0,0.356403,0.038624,-0.035224, - 0.180414,0.983591,0,0.210084,0.094169,-0.035224, - 0.526579,0.850126,0,0.356403,0.038624,-0.035224, - 0.526579,0.850126,0,0.210084,0.094169,0.035224, - 0.526579,0.850126,0,0.356403,0.038624,0.035224, - -0.180414,0.983591,0,-0.356403,0.038624,0.035224, - -0.180414,0.983591,0,-0.210084,0.094169,-0.035224, - -0.354908,0.934901,0,-0.356403,0.038624,-0.035224, - -0.180414,0.983591,0,-0.210084,0.094169,-0.035224, - -0.180414,0.983591,0,-0.356403,0.038624,0.035224, - -0.180414,0.983591,0,-0.210084,0.094169,0.035224 + -0.120052,0.992768,0,-0.210084,0.094169,0.035224, + 0.120052,0.992768,0,0.210084,0.094169,-0.035224, + -0.240104,0.970747,0,-0.210084,0.094169,-0.035224, + 0.120052,0.992768,0,0.210084,0.094169,-0.035224, + -0.120052,0.992768,0,-0.210084,0.094169,0.035224, + 0.240104,0.970747,0,0.210084,0.094169,0.035224, + 0.240104,0.970747,0,0.210084,0.094169,0.035224, + 0.47058,0.882357,0,0.356403,0.038624,-0.035224, + 0.120052,0.992768,0,0.210084,0.094169,-0.035224, + 0.47058,0.882357,0,0.356403,0.038624,-0.035224, + 0.240104,0.970747,0,0.210084,0.094169,0.035224, + 0.58038,0.814346,0,0.356403,0.038624,0.035224, + -0.47058,0.882357,0,-0.356403,0.038624,0.035224, + -0.240104,0.970747,0,-0.210084,0.094169,-0.035224, + -0.58038,0.814346,0,-0.356403,0.038624,-0.035224, + -0.240104,0.970747,0,-0.210084,0.094169,-0.035224, + -0.47058,0.882357,0,-0.356403,0.038624,0.035224, + -0.120052,0.992768,0,-0.210084,0.094169,0.035224 }; -static const struct gllist frame={GL_N3F_V3F,GL_TRIANGLES,54,data,NULL}; -const struct gllist *toaster_handle=&frame; +static const struct gllist toaster_handle_frame = { GL_N3F_V3F, GL_TRIANGLES, 54, toaster_handle_data, 0 }; +const struct gllist *toaster_handle = &toaster_handle_frame;