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

Comparing ray/src/gen/mkillum2.c (file contents):
Revision 2.7 by greg, Tue Nov 7 17:50:44 1995 UTC vs.
Revision 2.8 by gregl, Wed Jul 9 11:24:52 1997 UTC

# Line 306 | Line 306 | register struct rtproc  *rt;
306          bzero(rt->buf+6*rt->nrays, 6*sizeof(float));
307          errno = 0;
308          if ( process(rt->pd, (char *)rt->buf, (char *)rt->buf,
309 <                        3*sizeof(float)*rt->nrays,
309 >                        3*sizeof(float)*(rt->nrays+1),
310                          6*sizeof(float)*(rt->nrays+1)) <
311 <                        3*sizeof(float)*rt->nrays )
311 >                        3*sizeof(float)*(rt->nrays+1) )
312                  error(SYSTEM, "error reading from rtrace process");
313          i = rt->nrays;
314          while (i--) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines