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

Comparing ray/src/rt/ray.h (file contents):
Revision 2.57 by greg, Fri Nov 15 20:47:42 2024 UTC vs.
Revision 2.59 by greg, Fri Jun 20 03:43:17 2025 UTC

# Line 65 | Line 65 | typedef struct ray {
65          RNUMBER rno;            /* unique ray number */
66          OBJECT  robj;           /* intersected object number */
67          int     rsrc;           /* source we're aiming for (or ones to skip) */
68 #ifdef SSKIPOPT
69        float   scorr;          /* correction factor for included sources */
70 #endif
68          float   rweight;        /* cumulative weight (for termination) */
69          float   gecc;           /* scattering eccentricity coefficient */
70          SCOLOR  rcoef;          /* contribution coefficient w.r.t. parent */
# Line 107 | Line 104 | extern void    (*trace)(RAY*); /* global trace reporting
104  
105   extern int      dimlist[];      /* dimension list for distribution */
106   extern int      ndims;          /* number of dimensions so far */
107 < extern int      samplendx;      /* index for this sample */
107 > extern unsigned long
108 >                samplendx;      /* index for this sample */
109  
110   extern int      do_irrad;       /* compute irradiance? */
111  
# Line 218 | Line 216 | extern void    ray_done(int freall);
216   extern void     ray_save(RAYPARAMS *rp);
217   extern void     ray_restore(RAYPARAMS *rp);
218   extern void     ray_defaults(RAYPARAMS *rp);
219 + extern void     reset_random(void);
220                                          /* defined in raypcalls.c */
221   extern void     ray_pinit(char *otnm, int nproc);
222   extern int      ray_psend(RAY *r);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines