Searched refs:y2diff (Results 1 – 1 of 1) sorted by relevance
304 float y2diff; in try_setup_line() local346 y2diff = v2[0][1] - (float) floor(v2[0][1]) - 0.5; in try_setup_line()348 if (y2diff==-0.5 && dy<0){ in try_setup_line()349 y2diff = 0.5; in try_setup_line()374 if (fabsf(x2diff) + fabsf(y2diff) < 0.5) { in try_setup_line()380 else if (sign(-y2diff) == sign(dy)) { in try_setup_line()444 y2diff = v2[0][1] - (float) floor(v2[0][1]) - 0.5; in try_setup_line()471 if (fabsf(x2diff) + fabsf(y2diff) < 0.5) { in try_setup_line()474 else if (sign(-y2diff) != sign(dy) ) { in try_setup_line()482 float xintersect = fracf(v2[0][0]) + y2diff * dxdy; in try_setup_line()[all …]