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

Comparing ray/src/px/pf3.c (file contents):
Revision 2.15 by greg, Tue Feb 25 00:26:05 2003 UTC vs.
Revision 2.16 by schorsch, Mon Jun 30 14:59:12 2003 UTC

# Line 9 | Line 9 | static const char RCSid[] = "$Id$";
9  
10   #include  "standard.h"
11  
12 + #include  <string.h>
13 +
14   #include  "color.h"
15  
16   #define  RSCA           1.13    /* square-radius multiplier: sqrt(4/PI) */
# Line 190 | Line 192 | int  ccent, rcent;
192          register int  c, x;
193          register float  *gscan;
194                                          /* compute ring sums */
195 <        bzero((char *)ringsum, (orad+1)*sizeof(float));
196 <        bzero((char *)ringwt, (orad+1)*sizeof(short));
195 >        memset((char *)ringsum, '\0', (orad+1)*sizeof(float));
196 >        memset((char *)ringwt, '\0', (orad+1)*sizeof(short));
197          for (r = -orad; r <= orad; r++) {
198                  if (rcent+r < 0) continue;
199                  if (rcent+r >= nrows) break;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines