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

Comparing ray/src/gen/mkillum.c (file contents):
Revision 2.31 by greg, Fri Sep 21 05:53:21 2007 UTC vs.
Revision 2.33 by greg, Thu Dec 13 07:03:37 2007 UTC

# Line 8 | Line 8 | static const char RCSid[] = "$Id$";
8   #include  <signal.h>
9   #include  <ctype.h>
10  
11 #include  "platform.h"
11   #include  "mkillum.h"
13 #include  "random.h"
12  
13                                  /* default parameters */
14   #define  SAMPDENS       48              /* points per projected steradian */
# Line 308 | Line 306 | xoptions(                      /* process options in string s */
306                          }
307                          if (!*++cp || isspace(*cp))
308                                  continue;
309 <                        if (isintd(++cp, " \t\n\r")) {
309 >                        if (isintd(cp, " \t\n\r")) {
310                                  thisillum.sampdens = atoi(cp);
311                          } else {
312                                  atos(buf, sizeof(buf), cp);
# Line 385 | Line 383 | xoptions(                      /* process options in string s */
383                                  break;
384                          case 'z':
385                          case 'Z':
386 <                                thisillum.udir = negax ? UDxneg : UDxpos;
386 >                                thisillum.udir = negax ? UDzneg : UDzpos;
387                                  break;
388                          default:
389                                  thisillum.udir = UDunknown;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines