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 1.8 by greg, Thu Jul 25 14:43:15 1991 UTC vs.
Revision 1.9 by greg, Tue Jul 30 13:00:26 1991 UTC

# Line 272 | Line 272 | register struct rtproc  *rt;
272  
273          if (rt->nrays <= 0)
274                  return;
275 <        i = 6*rt->nrays + 3;
276 <        rt->buf[i++] = 0.; rt->buf[i++] = 0.; rt->buf[i] = 0.;
275 >        bzero(rt->buf+6*rt->nrays, 6*sizeof(float));
276          if ( process(rt->pd, (char *)rt->buf, (char *)rt->buf,
277                          3*sizeof(float)*rt->nrays,
278                          6*sizeof(float)*(rt->nrays+1)) <

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines