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

Comparing ray/src/rt/lookamb.c (file contents):
Revision 2.4 by greg, Thu Oct 15 21:13:13 1992 UTC vs.
Revision 2.6 by greg, Sun Feb 27 10:17:33 1994 UTC

# Line 29 | Line 29 | AMBVAL  av;
29  
30  
31   main(argc, argv)                /* load ambient values from a file */
32 + int  argc;
33   char  *argv[];
34   {
35          FILE  *fp;
# Line 64 | Line 65 | char  *argv[];
65                  if (header) {
66                          if (checkheader(fp, "ascii", stdout) < 0)
67                                  goto formaterr;
68 <                } else
68 >                } else {
69 >                        newheader("RADIANCE", stdout);
70                          printargs(argc, argv, stdout);
71 +                }
72                  fputformat(AMBFMT, stdout);
73                  putchar('\n');
74   #ifdef MSDOS

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines