1
/* @(#)yadjust.c 2.1 6/26/87 */
3
/* FIRST change all Y grid coordinates to array coordinates.
4
* (add .5 to all Y grid coordinates)
5
* X array coordinates are simply (int)(GRID_X)
6
* THEN add .0001 to all integer y values
7
* This takes care of all sorts of evils and time later on
9
void yadjust(double *yarray, int num_verticies)
14
for (pointer = yarray, incr = 0; incr <= num_verticies; incr++, pointer++) {
17
if (*pointer == (double)row)