Lines Matching refs:nextright
399 int nextleft, nextright; /* indices to second endpoints */
423 nextleft = nextright = imin;
456 if (ptsIn[nextright].y == y) {
457 right = nextright;
463 nextright--;
464 if (nextright < 0)
465 nextright = count - 1;
471 BRESINITPGON(ptsIn[nextright].y - ptsIn[right].y,
472 ptsIn[right].x, ptsIn[nextright].x,
480 i = min(ptsIn[nextleft].y, ptsIn[nextright].y) - y;