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

Comparing ray/src/rt/raytrace.c (file contents):
Revision 2.4 by greg, Tue Feb 23 13:57:11 1993 UTC vs.
Revision 2.6 by greg, Tue May 25 10:30:01 1993 UTC

# Line 25 | Line 25 | extern int  maxdepth;                  /* maximum recursion depth */
25   extern double  minweight;               /* minimum ray weight */
26   extern int  do_irrad;                   /* compute irradiance? */
27  
28 < long  raynum = 0L;                      /* next unique ray number */
29 < long  nrays = 0L;                       /* number of calls to localhit */
28 > unsigned long  raynum = 0;              /* next unique ray number */
29 > unsigned long  nrays = 0;               /* number of calls to localhit */
30  
31   static FLOAT  Lambfa[5] = {PI, PI, PI, 0.0, 0.0};
32   OBJREC  Lamb = {
33          OVOID, MAT_PLASTIC, "Lambertian",
34          {0, 5, NULL, Lambfa}, NULL,
35   };                                      /* a Lambertian surface */
36 +
37 + static int  raymove(), checkset(), checkhit();
38  
39   #define  MAXLOOP        128             /* modifier loop detection */
40  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines