X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fglx%2Ftoaster_handle2.c;h=d73003ec745b8cec3b02cb21054f4efdf3443a3b;hp=ce9ab9fbed98fc033d5db0231b0520d64e8176af;hb=6afd6db0ae9396cd7ff897ade597cd5483f49b0e;hpb=dba664f31aa87285db4d76cf8c5e66335299703a diff --git a/hacks/glx/toaster_handle2.c b/hacks/glx/toaster_handle2.c index ce9ab9fb..d73003ec 100644 --- a/hacks/glx/toaster_handle2.c +++ b/hacks/glx/toaster_handle2.c @@ -1,5 +1,10 @@ +/* Generated from "toaster_handle2.dxf" on Aug-22-2014. + Smoothed vertex normals. Normalized to unit bounding box. + */ + #include "gllist.h" -static const float data[]={ + +static const float toaster_handle2_data[] = { 0,-0.027094,0.999633,0.038934,-0.294903,-0.5, 0,-0.027094,0.999633,-0.038934,0.321555,-0.483291, 0,-0.027094,0.999633,-0.038934,-0.294903,-0.5, @@ -18,9 +23,9 @@ static const float data[]={ 0,0.027094,-0.999633,-0.038934,-0.321555,0.483291, 0,0.027094,-0.999633,0.038934,0.294903,0.5, 0,0.027094,-0.999633,0.038934,-0.321555,0.483291, - 1,0,-0,-0.038934,-0.294903,-0.5, - 1,0,-0,-0.038934,0.294903,0.5, - 1,0,-0,-0.038934,-0.321555,0.483291, + 1,0,0,-0.038934,-0.294903,-0.5, + 1,0,0,-0.038934,0.294903,0.5, + 1,0,0,-0.038934,-0.321555,0.483291, 1,0,0,-0.038934,0.294903,0.5, 1,0,0,-0.038934,-0.294903,-0.5, 1,0,0,-0.038934,0.321555,-0.483291, @@ -31,5 +36,5 @@ static const float data[]={ 0,-0.999633,-0.027095,0.038934,0.294903,0.5, 0,-0.999633,-0.027095,-0.038934,0.294903,0.5 }; -static const struct gllist frame={GL_N3F_V3F,GL_TRIANGLES,30,data,NULL}; -const struct gllist *toaster_handle2=&frame; +static const struct gllist toaster_handle2_frame = { GL_N3F_V3F, GL_TRIANGLES, 30, toaster_handle2_data, 0 }; +const struct gllist *toaster_handle2 = &toaster_handle2_frame;