ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/util/glareval.c
(Generate patch)

Comparing ray/src/util/glareval.c (file contents):
Revision 1.6 by greg, Thu Mar 21 16:46:25 1991 UTC vs.
Revision 1.7 by greg, Tue Apr 2 14:29:17 1991 UTC

# Line 142 | Line 142 | int    vh, vv;
142  
143          if (compdir(dir, vh, vv) < 0)
144                  return(-1.0);
145 +        npixinvw++;
146          if ((res = pict_val(dir)) >= 0.0)
147                  return(res);
148 <        if (rt_pid == -1)
148 >        if (rt_pid == -1) {
149 >                npixmiss++;
150                  return(-1.0);
151 +        }
152          rt_buf[0] = ourview.vp[0];
153          rt_buf[1] = ourview.vp[1];
154          rt_buf[2] = ourview.vp[2];
# Line 178 | Line 181 | float  *vb;
181                          vb[vh+hsize] = -1.0;
182                          continue;
183                  }
184 +                npixinvw++;
185                  if ((vb[vh+hsize] = pict_val(dir)) >= 0.0)
186                          continue;
187 <                if (rt_pid == -1)               /* missing information */
187 >                if (rt_pid == -1) {             /* missing information */
188 >                        npixmiss++;
189                          continue;
190 +                }
191                                                  /* send to rtrace */
192                  if (n >= MAXPIX) {                      /* flush */
193                          rt_compute(rt_buf, n);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines