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.32 by greg, Sat Dec 8 01:43:09 2007 UTC vs.
Revision 2.34 by greg, Sat Apr 18 16:14:26 2009 UTC

# Line 306 | 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 383 | 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;
# Line 444 | Line 444 | printopts(void)                        /* print out option default values *
444                  printf("l+\t\t\t\t# light type on\n");
445          else
446                  printf("l-\t\t\t\t# light type off\n");
447 <        printf("d=%d\t\t\t\t# density of points\n", thisillum.sampdens);
448 <        printf("s=%d\t\t\t\t# samples per point\n", thisillum.nsamps);
447 >        printf("d=%d\t\t\t\t# density of directions\n", thisillum.sampdens);
448 >        printf("s=%d\t\t\t\t# samples per direction\n", thisillum.nsamps);
449          printf("b=%f\t\t\t# minimum average brightness\n", thisillum.minbrt);
450          switch (thisillum.udir) {
451          case UDzneg:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines