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

Comparing ray/src/rt/rtmain.c (file contents):
Revision 2.32 by greg, Mon Apr 6 04:10:44 2020 UTC vs.
Revision 2.33 by greg, Mon Apr 6 21:09:07 2020 UTC

# Line 45 | Line 45 | char  *outvals = "v";                  /* output specification */
45   int  hresolu = 0;                       /* horizontal (scan) size */
46   int  vresolu = 0;                       /* vertical resolution */
47  
48 < int  castonly = 0;                      /* only doing ray-casting? */
48 > extern int  castonly;                   /* only doing ray-casting? */
49  
50   int  imm_irrad = 0;                     /* compute immediate irradiance? */
51   int  lim_dist = 0;                      /* limit distance? */
# Line 339 | Line 339 | main(int  argc, char  *argv[])
339                  marksources();          /* find and mark sources */
340  
341                  setambient();           /* initialize ambient calculation */
342 <        }
342 >        } else
343 >                distantsources();       /* else mark only distant sources */
344   #ifdef  PERSIST
345          if (persist) {
346                  fflush(stdout);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines