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

Comparing ray/src/rt/rxpiece.cpp (file contents):
Revision 2.9 by greg, Thu Jan 2 20:19:48 2025 UTC vs.
Revision 2.11 by greg, Tue Apr 22 17:12:25 2025 UTC

# Line 14 | Line 14 | static const char      RCSid[] = "$Id$";
14  
15   #include  "platform.h"
16   #include  "RpictSimulManager.h"
17 + #include  "func.h"
18   #include  "ambient.h"
19   #include  "pmapray.h"
20   #include  "random.h"
# Line 60 | Line 61 | static RenderDataType rpiece(char *pout, RenderDataTyp
61   void
62   quit(int code)                          /* quit program */
63   {
63        if (nproc < 0) {
64                ray_pnprocs = -1;       // hack to avoid cleanup in child
65                _exit(code);
66        }
64          exit(code);                     // don't bother to free data structs
65   }
66  
# Line 108 | Line 105 | main(int  argc, char  *argv[])
105          strcat(RFeatureList, RXPIECE_FEATURES);
106          if (argc > 1 && !strcmp(argv[1], "-features"))
107                  return feature_status(argc-2, argv+2);
108 +                                        /* initialize calcomp routines */
109 +        initfunc();
110                                          /* set defaults */
111          default_options();
112                                          /* option city */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines