Lines Matching refs:yvec
584 * Find where (x1, y1) -> (x2, y2) hits one of the lines in xvec, yvec.
588 void oglFindEndForPolyline(double n, double xvec[], double yvec[],
593 double lasty = yvec[0];
601 oglCheckLineIntersection(x1, y1, x2, y2, lastx, lasty, xvec[i], yvec[i],
604 lasty = yvec[i];
611 if (!(xvec[0] == lastx && yvec[0] == lasty))
613 oglCheckLineIntersection(x1, y1, x2, y2, lastx, lasty, xvec[0], yvec[0],
636 double yvec[5];
639 yvec[0] = (double)(y1 - height/2.0);
641 yvec[1] = (double)(y1 + height/2.0);
643 yvec[2] = (double)(y1 + height/2.0);
645 yvec[3] = (double)(y1 - height/2.0);
647 yvec[4] = (double)(y1 - height/2.0);
649 oglFindEndForPolyline(5, xvec, yvec, x2, y2, x1, y1, x3, y3);