ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/source.h
(Generate patch)

Comparing ray/src/rt/source.h (file contents):
Revision 2.9 by greg, Fri Jun 27 06:53:23 2003 UTC vs.
Revision 2.10 by schorsch, Mon Jun 30 14:59:13 2003 UTC

# Line 10 | Line 10
10   extern "C" {
11   #endif
12  
13 + #include <string.h>
14 +
15   #define  AIMREQT        100             /* required aim success/failure */
16  
17   #define  SDISTANT       01              /* source distant flag */
# Line 68 | Line 70 | typedef struct {
70  
71   #define initsrcindex(s) ((s)->sn = (s)->sp = -1, (s)->np = 0)
72  
73 < #define clrpart(pt)     bzero((char *)(pt), MAXSPART/2)
73 > #define clrpart(pt)     memset((char *)(pt), '\0', MAXSPART/2)
74   #define setpart(pt,i,v) ((pt)[(i)>>2] |= (v)<<(((i)&3)<<1))
75   #define spart(pt,pi)    ((pt)[(pi)>>2] >> (((pi)&3)<<1) & 3)
76  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines