[MPlayer-dev-eng] [PATCH] GUI: Implement a true rotary potmeter

Ingo Brückl ib at wupperonline.de
Tue Apr 8 11:21:28 CEST 2014


Hans-Dieter Kosch wrote on Tue, 08 Apr 2014 03:36:06 +0200:

> Ingo Brückl wrote:

>> 2. How can floating point and atan2 issues be overcome to determine whether
>>    two points x0,y0 and x1,y1 have virtually the same radian?

> I'll think about and come back (I've some diffuse ideas), but it may take
> until next weekend.

It seems that 0.05 (approx. pi/60) is a reasonable threshold even for small
images and pixels near the center.

Ingo


More information about the MPlayer-dev-eng mailing list