anotherprogramer
anotherprogramer
The code above needs between 2 and 10 millisec to complete on my i5. After removing it the needleRotation is nearly instand. I tryed to find a better solution and...
Ok I did some excessiv testing. The Problem exists but is not as big as i thought. I must had changes earlyer in the file that triggered the above function...
Lol. you are right. Kind of embarassing that i did not suggest that myself. I did think about it way to complicated. It is kind of strange that there is...
just thought about it again. Because min value can be negative and so longer then max, it would be best to calculate it for MAX and MIN and take the...