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.39 by greg, Sat Oct 13 20:15:43 2012 UTC vs.
Revision 2.40 by greg, Sun Aug 11 02:57:49 2013 UTC

# Line 24 | Line 24 | static const char RCSid[] = "$Id$";
24  
25   struct illum_args  thisillum = {        /* our illum and default values */
26                  0,
27                0.,
27                  DFLMAT,
28                  DFLDAT,
29                  0,
# Line 360 | Line 359 | xoptions(                      /* process options in string s */
359                          }
360                          doneheader = 0;
361                          continue;
363                case 't':                       /* object thickness */
364                        if (*++cp != '=')
365                                break;
366                        if (!isfltd(++cp, " \t\n\r"))
367                                break;
368                        thisillum.thick = atof(cp);
369                        if (thisillum.thick < .0)
370                                thisillum.thick = .0;
371                        cp = sskip(cp);
372                        continue;
362                  case '!':                       /* processed file! */
363                          sprintf(errmsg, "(%s): already processed!", nm);
364                          error(WARNING, errmsg);
# Line 415 | Line 404 | printopts(void)                        /* print out option default values *
404          printf("d=%d\t\t\t\t# density of directions\n", thisillum.sampdens);
405          printf("s=%d\t\t\t\t# samples per direction\n", thisillum.nsamps);
406          printf("b=%f\t\t\t# minimum average brightness\n", thisillum.minbrt);
418        printf("t=%f\t\t\t# object thickness\n", thisillum.thick);
407   }
408  
409  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines