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 1.8 by greg, Thu Jul 25 14:50:03 1991 UTC vs.
Revision 1.9 by greg, Thu Jul 25 15:31:30 1991 UTC

# Line 89 | Line 89 | char   *argv[];
89          rtargv[rtargc] = NULL;
90                                  /* just asking for defaults? */
91          if (!strcmp(argv[gargc-1], "-defaults")) {
92 +                printopts(); fflush(stdout);
93                  rtpath = getpath(rtargv[0], getenv("PATH"), X_OK);
94                  if (rtpath == NULL) {
95                          eputs(rtargv[0]);
# Line 363 | Line 364 | char   *nm;
364          }
365                                                  /* print pure comment */
366          printf("# %s", s+2);
367 + }
368 +
369 +
370 + printopts()                     /* print out option default values */
371 + {
372 +        printf("m=%s\t\t\t# material name\n", thisillum.matname);
373 +        printf("f=%s\t\t\t# data file name\n", thisillum.datafile);
374 +        printf("c=n\t\t\t\t# color none\n");
375 +        printf("d=%d\t\t\t\t# density of points\n", thisillum.sampdens);
376 +        printf("s=%d\t\t\t\t# samples per point\n", thisillum.nsamps);
377   }
378  
379  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines