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.10 by schorsch, Thu Jun 26 00:58:09 2003 UTC vs.
Revision 2.11 by schorsch, Mon Jun 30 14:59:11 2003 UTC

# Line 5 | Line 5 | static const char      RCSid[] = "$Id$";
5   * Routines to do the actual calculation for mkillum
6   */
7  
8 + #include <string.h>
9 +
10   #include  "mkillum.h"
11   #include  "face.h"
12   #include  "cone.h"
# Line 297 | Line 299 | register struct rtproc  *rt;
299  
300          if (rt->nrays <= 0)
301                  return;
302 <        bzero(rt->buf+6*rt->nrays, 6*sizeof(float));
302 >        memset(rt->buf+6*rt->nrays, '\0', 6*sizeof(float));
303          errno = 0;
304          if ( process(&(rt->pd), (char *)rt->buf, (char *)rt->buf,
305                          3*sizeof(float)*(rt->nrays+1),

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines