Lines Matching refs:xvec
584 * Find where (x1, y1) -> (x2, y2) hits one of the lines in xvec, yvec.
588 void oglFindEndForPolyline(double n, double xvec[], double yvec[],
592 double lastx = xvec[0];
601 oglCheckLineIntersection(x1, y1, x2, y2, lastx, lasty, xvec[i], yvec[i],
603 lastx = xvec[i];
611 if (!(xvec[0] == lastx && yvec[0] == lasty))
613 oglCheckLineIntersection(x1, y1, x2, y2, lastx, lasty, xvec[0], yvec[0],
635 double xvec[5];
638 xvec[0] = (double)(x1 - width/2.0);
640 xvec[1] = (double)(x1 - width/2.0);
642 xvec[2] = (double)(x1 + width/2.0);
644 xvec[3] = (double)(x1 + width/2.0);
646 xvec[4] = (double)(x1 - width/2.0);
649 oglFindEndForPolyline(5, xvec, yvec, x2, y2, x1, y1, x3, y3);