Searched refs:y2diff (Results 1 – 1 of 1) sorted by relevance
313 float y2diff; in try_setup_line() local363 y2diff = v2[0][1] - (float) floor(v2[0][1]) - 0.5; in try_setup_line()365 if (y2diff==-0.5 && dy<0){ in try_setup_line()366 y2diff = 0.5; in try_setup_line()391 if (fabsf(x2diff) + fabsf(y2diff) < 0.5) { in try_setup_line()397 else if (sign(-y2diff) == sign(dy)) { in try_setup_line()461 y2diff = v2[0][1] - (float) floor(v2[0][1]) - 0.5; in try_setup_line()488 if (fabsf(x2diff) + fabsf(y2diff) < 0.5) { in try_setup_line()491 else if (sign(-y2diff) != sign(dy) ) { in try_setup_line()499 float xintersect = fracf(v2[0][0]) + y2diff * dxdy; in try_setup_line()[all …]