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.59 by greg, Sat Jun 7 05:09:46 2025 UTC vs.
Revision 2.60 by greg, Fri Jun 20 03:43:17 2025 UTC

# Line 362 | Line 362 | main(int  argc, char  *argv[])
362                                          /* initialize object types */
363          initotypes();
364                                          /* initialize urand */
365 <        if (rand_samp) {
366 <                srandom((long)time(0));
367 <                initurand(0);
368 <        } else {
369 <                srandom(0L);
370 <                initurand(2048);
371 <        }
365 >        reset_random();
366                                          /* set up signal handling */
367          sigdie(SIGINT, "Interrupt");
368   #ifdef SIGHUP

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines