Searched refs:tempdegree (Results 1 – 1 of 1) sorted by relevance
145 unsigned char tempdegree; in lv_atan2() local175 tempdegree = degree; // use an unsigned char for speed! in lv_atan2()176 if(tempdegree > 22) { // if top half of range in lv_atan2()177 if(tempdegree <= 44) comp++; in lv_atan2()178 if(tempdegree <= 41) comp++; in lv_atan2()179 if(tempdegree <= 37) comp++; in lv_atan2()180 if(tempdegree <= 32) comp++; // max is 4 degrees compensated in lv_atan2()183 if(tempdegree >= 2) comp++; in lv_atan2()184 if(tempdegree >= 6) comp++; in lv_atan2()185 if(tempdegree >= 10) comp++; in lv_atan2()[all …]