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.47 by greg, Wed Oct 19 21:25:20 2022 UTC vs.
Revision 2.50 by greg, Thu Mar 16 00:25:24 2023 UTC

# Line 16 | Line 16 | extern "C" {
16   #endif
17  
18   #ifndef RNUMBER
19 < #define RNUMBER         unsigned long   /* ray counter (>= sizeof pointer) */
19 > #define RNUMBER         size_t          /* ray counter (>= sizeof pointer) */
20   #endif
21  
22   #define  MAXDIM         32      /* maximum number of dimensions */
# Line 92 | Line 92 | extern RNUMBER nrays;          /* total rays traced so far */
92   extern OBJREC  Lamb;            /* a Lambertian surface */
93   extern OBJREC  Aftplane;        /* aft clipping object */
94  
95 < extern void     (*trace)();     /* global trace reporting callback */
95 > extern void     (*trace)(RAY*); /* global trace reporting callback */
96  
97   extern int      dimlist[];      /* dimension list for distribution */
98   extern int      ndims;          /* number of dimensions so far */
# Line 220 | Line 220 | extern int     ray_fifo_flush(void);
220   extern int      rayorigin(RAY *r, int rt, const RAY *ro, const COLOR rc);
221   extern void     rayclear(RAY *r);
222   extern void     raytrace(RAY *r);
223 < extern int      rayreject(OBJREC *o, RAY *r, double t);
223 > extern int      rayreject(OBJREC *o, RAY *r, double t, double rod);
224   extern void     rayhit(OBJECT *oset, RAY *r);
225   extern void     raycont(RAY *r);
226   extern void     raytrans(RAY *r);
# Line 247 | Line 247 | extern void    init_drawsources(int rad);
247   extern void     initotypes(void);
248                                          /* module main procedures */
249   extern void     rtrace(char *fname, int nproc);
250 < extern char     *formstr(int  f);
250 > extern const char       *formstr(int  f);
251   extern void     rview(void);
252   extern void     rpict(int seq, char *pout, char *zout, char *prvr);
253  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines