Searched refs:x2diff (Results 1 – 1 of 1) sorted by relevance
303 float x2diff; in try_setup_line() local345 x2diff = v2[0][0] - (float) floor(v2[0][0]) - 0.5; in try_setup_line()374 if (fabsf(x2diff) + fabsf(y2diff) < 0.5) { in try_setup_line()377 else if (sign(x2diff) != sign(-dx)) { in try_setup_line()385 float yintersect = fracf(v2[0][1]) + x2diff * dydx; in try_setup_line()392 will_draw_end = (sign(x2diff) == sign(-dx)) || x2diff==0; in try_setup_line()408 x_offset = - x2diff - 0.5; in try_setup_line()420 x_offset_end = - x2diff + 0.5; in try_setup_line()443 x2diff = v2[0][0] - (float) floor(v2[0][0]) - 0.5; in try_setup_line()446 if (x2diff==-0.5 && dx<0) { in try_setup_line()[all …]