3 Apr
2014
3 Apr
'14
2:35 p.m.
I wrote on Thu, 03 Apr 2014 08:59:47 +0200:
I'm going to make some source changes now in order to prepare it.
Here is an elaborated version of the patch working in radian now which saves some operations and makes it easier to understand (e.g. when looking up atan2 and radian in the wiki). You can already test with the plastic skin when setting the required data using static void g (guiItem *item) { double end; item->zeropoint = appRadian(item, 48, 52); end = appRadian(item, 60, 25); item->arclength = end - item->zeropoint; if (item->arclength <= 0.0) item->arclength += 2 * M_PI; } and g(item) right after case itRPotmeter in main.c. Comments? Ingo