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

Comparing ray/src/px/ra_skel.c (file contents):
Revision 2.12 by schorsch, Thu Jun 5 19:29:34 2003 UTC vs.
Revision 2.15 by greg, Sat Jun 7 05:09:46 2025 UTC

# Line 7 | Line 7 | static const char      RCSid[] = "$Id$";
7   *
8   *  The Rmakefile entry should look something like this:
9   *      ra_skel:        ra_skel.o
10 < *              cc $(CFLAGS) -o ra_skel ra_skel.o -lrt -lm
10 > *              cc $(CFLAGS) -o ra_skel ra_skel.o -lrtrad -lm
11   *      ra_skel.o:      ../common/color.h ../common/resolu.h
12   *
13   *  If you like to do things the hard way, you can link directly
14   *  to the object files "color.o colrops.o resolu.o header.o" in
15 < *  the common subdirectory instead of using the -lrt library.
15 > *  the common subdirectory instead of using the -lrtrad library.
16   */
17  
18   #include  <stdio.h>
19   #include  <math.h>
20   #include  <time.h>
21
21   #include  "platform.h"
22   #include  "color.h"
23   #include  "resolu.h"
# Line 27 | Line 26 | double gamcor = 2.2;                   /* gamma correction */
26  
27   int  bradj = 0;                         /* brightness adjustment */
28  
30 char  *progname;
31
29   int  xmax, ymax;
30  
31  
# Line 39 | Line 36 | char  *argv[];
36          int  reverse = 0;
37          int  i;
38          
39 <        progname = argv[0];
39 >        fixargv0(argv[0]);
40  
41          for (i = 1; i < argc; i++)
42                  if (argv[i][0] == '-')

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines