--- ray/src/util/glareval.c 1991/04/18 15:18:25 1.13 +++ ray/src/util/glareval.c 1991/04/19 17:41:06 1.14 @@ -179,15 +179,14 @@ FVECT vd; double -getviewpix(vh, vv, se) /* compute single view pixel */ +getviewpix(vh, vv) /* compute single view pixel */ int vh, vv; -SPANERR *se; { FVECT dir; float rt_buf[6]; double res; - if (compdir(dir, vh, vv, se) < 0) + if (compdir(dir, vh, vv) < 0) return(-1.0); npixinvw++; if ((res = pict_val(dir)) >= 0.0) @@ -214,7 +213,6 @@ float *vb; float rt_buf[6*MAXPIX]; /* rtrace send/receive buffer */ register int n; /* number of pixels in buffer */ short buf_vh[MAXPIX]; /* pixel positions */ - SPANERR sperr; FVECT dir; register int vh; @@ -223,10 +221,9 @@ float *vb; fprintf(stderr, "%s: computing view span at %d...\n", progname, vv); #endif - setspanerr(&sperr, vv); n = 0; for (vh = -hsize; vh <= hsize; vh++) { - if (compdir(dir, vh, vv, &sperr) < 0) { /* not in view */ + if (compdir(dir, vh, vv) < 0) { /* not in view */ vb[vh+hsize] = -1.0; continue; }