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.11 by greg, Thu Jun 2 04:47:27 2005 UTC vs.
Revision 2.12 by greg, Wed Jun 15 15:36:52 2005 UTC

# Line 7 | Line 7 | static const char      RCSid[] = "$Id$";
7  
8   #include "copyright.h"
9  
10 #include  <sys/types.h>
10   #include  <signal.h>
11  
12   #include  "platform.h"
# Line 229 | Line 228 | main(int  argc, char  *argv[])
228          initotypes();
229                                          /* initialize urand */
230          initurand(2048);
231 +        srandom(rand_samp ? (long)time(0) : 0L);
232                                          /* set up signal handling */
233          sigdie(SIGINT, "Interrupt");
234   #ifdef SIGHUP

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines