Searched refs:x2diff (Results 1 – 1 of 1) sorted by relevance
312 float x2diff; in try_setup_line() local366 x2diff = v2[0][0] - floorf(v2[0][0]) - 0.5f; in try_setup_line()395 if (fabsf(x2diff) + fabsf(y2diff) < 0.5) { in try_setup_line()398 else if (sign(x2diff) != sign(-dx)) { in try_setup_line()406 float yintersect = fracf(v2[0][1]) + x2diff * dydx; in try_setup_line()413 will_draw_end = (sign(x2diff) == sign(-dx)) || x2diff==0; in try_setup_line()429 x_offset = - x2diff - 0.5; in try_setup_line()441 x_offset_end = - x2diff + 0.5; in try_setup_line()464 x2diff = v2[0][0] - floorf(v2[0][0]) - 0.5f; in try_setup_line()467 if (x2diff==-0.5 && dx<0) { in try_setup_line()[all …]