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

Comparing ray/src/rt/rcmain.c (file contents):
Revision 2.18 by greg, Thu Jan 18 19:43:43 2018 UTC vs.
Revision 2.19 by greg, Wed Sep 9 21:28:19 2020 UTC

# Line 43 | Line 43 | int    using_stdout = 0;               /* are we using stdout? */
43   int     imm_irrad = 0;                  /* compute immediate irradiance? */
44   int     lim_dist = 0;                   /* limit distance? */
45  
46 + int     report_intvl = 0;               /* reporting interval (seconds) */
47 +
48   const char      *modname[MAXMODLIST];   /* ordered modifier name list */
49   int             nmods = 0;              /* number of modifiers */
50  
# Line 294 | Line 296 | main(int argc, char *argv[])
296                  case 'M':                       /* modifier file */
297                          check(2,"s");
298                          addmodfile(argv[++i], curout, prms, binval, bincnt);
299 +                        break;
300 +                case 't':                       /* reporting interval */
301 +                        check(2,"i");
302 +                        report_intvl = atoi(argv[++i]);
303                          break;
304                  default:
305                          goto badopt;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines