Searched refs:dist2 (Results 1 – 1 of 1) sorted by relevance
5042 float dist, dist2 = (x0 - sx) * (x0 - sx) + (y0 - sy) * (y0 - sy); local5043 if(dist2 < min_dist * min_dist)5044 min_dist = (float)STBTT_sqrt(dist2);5078 float px, py, t, it, dist2; local5107 dist2 = (x0 - sx) * (x0 - sx) + (y0 - sy) * (y0 - sy);5108 if(dist2 < min_dist * min_dist)5109 min_dist = (float)STBTT_sqrt(dist2);5115 dist2 = (px - sx) * (px - sx) + (py - sy) * (py - sy);5116 if(dist2 < min_dist * min_dist)5117 min_dist = (float)STBTT_sqrt(dist2);[all …]