Searched refs:y1diff (Results 1 – 1 of 1) sorted by relevance
311 float y1diff; in try_setup_line() local361 y1diff = v1[0][1] - (float) floor(v1[0][1]) - 0.5; in try_setup_line()372 if (fabsf(x1diff) + fabsf(y1diff) < 0.5) { in try_setup_line()378 else if (sign(-y1diff) != sign(dy)) { in try_setup_line()459 y1diff = v1[0][1] - (float) floor(v1[0][1]) - 0.5; in try_setup_line()470 if (fabsf(x1diff) + fabsf(y1diff) < 0.5) { in try_setup_line()473 else if (sign(-y1diff) == sign(dy)) { in try_setup_line()481 float xintersect = fracf(v1[0][0]) + y1diff * dxdy; in try_setup_line()505 will_draw_start = sign(y1diff) == sign(dy); in try_setup_line()518 y_offset_end = - y1diff + 0.5; in try_setup_line()[all …]