From d3a98cf6cbc3bd0b9efc570f58e8812c03931c18 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Tue, 16 Oct 2018 10:08:48 +0200 Subject: Original 5.40 --- hacks/glx/toaster_knob.c | 76 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 hacks/glx/toaster_knob.c (limited to 'hacks/glx/toaster_knob.c') diff --git a/hacks/glx/toaster_knob.c b/hacks/glx/toaster_knob.c new file mode 100644 index 0000000..d48b6ba --- /dev/null +++ b/hacks/glx/toaster_knob.c @@ -0,0 +1,76 @@ +/* Generated from "toaster_knob.dxf" on Aug-22-2014. + Smoothed vertex normals. Normalized to unit bounding box. + */ + +#include "gllist.h" + +static const float toaster_knob_data[] = { + 0.894098,0.012135,-0.447706,0.220972,-0.2059,-0.429683, + 0.894098,0.012135,-0.447706,0.372946,0.214524,-0.114788, + 0.894098,0.012135,-0.447706,0.372946,-0.21412,-0.126406, + 0.894098,0.012135,-0.447706,0.372946,0.214524,-0.114788, + 0.894098,0.012135,-0.447706,0.220972,-0.2059,-0.429683, + 0.894098,0.012135,-0.447706,0.220972,0.222744,-0.418065, + -0.999879,-0.000422,0.015577,-0.367658,0.209613,0.06637, + -0.999879,-0.000422,0.015577,-0.372946,-0.209838,-0.284406, + -0.999879,-0.000422,0.015577,-0.367658,-0.21903,0.054752, + -0.999879,-0.000422,0.015577,-0.372946,-0.209838,-0.284406, + -0.999879,-0.000422,0.015577,-0.367658,0.209613,0.06637, + -0.999879,-0.000422,0.015577,-0.372946,0.218806,-0.272788, + 0.907621,-0.011374,0.419637,0.372946,-0.21412,-0.126406, + 0.911978,-0.115261,0.393715,0.2305,0.206179,0.193077, + 0.907621,-0.011374,0.419637,0.2305,-0.222464,0.181458, + 0.911978,-0.115261,0.393715,0.2305,0.206179,0.193077, + 0.907621,-0.011374,0.419637,0.372946,-0.21412,-0.126406, + 0.907621,-0.011374,0.419637,0.372946,0.214524,-0.114788, + -0.611231,-0.021444,0.791162,-0.099099,-0.22465,0.262081, + -0.611231,-0.021444,0.791162,-0.367658,0.209613,0.06637, + -0.611231,-0.021444,0.791162,-0.367658,-0.21903,0.054752, + -0.611231,-0.021444,0.791162,-0.367658,0.209613,0.06637, + -0.611231,-0.021444,0.791162,-0.099099,-0.22465,0.262081, + -0.655778,-0.184059,0.732173,-0.099099,0.203994,0.2737, + -0,-0.999633,-0.027095,0.220972,-0.2059,-0.429683, + -0,-0.999633,-0.027095,-0.372946,-0.209838,-0.284406, + -0,-0.999633,-0.027096,-0.11098,-0.203994,-0.5, + -0,-0.999633,-0.027095,-0.372946,-0.209838,-0.284406, + -0,-0.999633,-0.027095,0.220972,-0.2059,-0.429683, + 0,-0.999633,-0.027094,0.372946,-0.21412,-0.126406, + -0,-0.999633,-0.027095,-0.372946,-0.209838,-0.284406, + 0,-0.999633,-0.027094,0.372946,-0.21412,-0.126406, + 0,-0.999633,-0.027095,-0.367658,-0.21903,0.054752, + 0,-0.999633,-0.027095,-0.367658,-0.21903,0.054752, + 0,-0.999633,-0.027094,0.372946,-0.21412,-0.126406, + 0,-0.999633,-0.027095,0.2305,-0.222464,0.181458, + 0,-0.999633,-0.027095,-0.367658,-0.21903,0.054752, + 0,-0.999633,-0.027095,0.2305,-0.222464,0.181458, + 0,-0.999633,-0.027095,0.065701,-0.223557,0.22177, + 0,-0.999633,-0.027095,-0.367658,-0.21903,0.054752, + 0,-0.999633,-0.027095,0.065701,-0.223557,0.22177, + 0,-0.999633,-0.027095,-0.099099,-0.22465,0.262081, + -0.635597,0.020918,-0.771737,-0.11098,0.22465,-0.488382, + -0.635597,0.020918,-0.771737,-0.372946,-0.209838,-0.284406, + -0.635597,0.020918,-0.771737,-0.372946,0.218806,-0.272788, + -0.635597,0.020918,-0.771737,-0.372946,-0.209838,-0.284406, + -0.635597,0.020918,-0.771737,-0.11098,0.22465,-0.488382, + -0.635597,0.020918,-0.771737,-0.11098,-0.203994,-0.5, + 0.207302,0.026506,-0.977918,0.220972,0.222744,-0.418065, + 0.207302,0.026506,-0.977918,-0.11098,-0.203994,-0.5, + 0.207302,0.026506,-0.977918,-0.11098,0.22465,-0.488382, + 0.207302,0.026506,-0.977918,-0.11098,-0.203994,-0.5, + 0.207302,0.026506,-0.977918,0.220972,0.222744,-0.418065, + 0.207302,0.026506,-0.977918,0.220972,-0.2059,-0.429683, + 0.237686,-0.026318,0.970985,0.065701,-0.223557,0.22177, + 0.237686,-0.026318,0.970985,-0.099099,0.203994,0.2737, + 0.237686,-0.026318,0.970985,-0.099099,-0.22465,0.262081, + -0.6794,-0.340802,0.649823,0.116801,0.205086,0.5, + -0.655778,-0.184059,0.732173,-0.099099,0.203994,0.2737, + -0.6794,-0.340802,0.649823,0.065701,-0.223557,0.22177, + 0.237686,-0.026318,0.970985,0.2305,0.206179,0.193077, + 0.237686,-0.026318,0.970985,0.065701,-0.223557,0.22177, + 0.237686,-0.026318,0.970985,0.2305,-0.222464,0.181458, + 0.911978,-0.115261,0.393715,0.2305,0.206179,0.193077, + 0.88909,-0.319042,0.328226,0.116801,0.205086,0.5, + 0.88909,-0.319042,0.328226,0.065701,-0.223557,0.22177 +}; +static const struct gllist toaster_knob_frame = { GL_N3F_V3F, GL_TRIANGLES, 66, toaster_knob_data, 0 }; +const struct gllist *toaster_knob = &toaster_knob_frame; -- cgit v1.2.3-55-g7522