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

Comparing ray/src/rt/rvmain.c (file contents):
Revision 2.18 by greg, Tue Jan 24 21:54:49 2023 UTC vs.
Revision 2.21 by greg, Thu Jan 18 00:28:54 2024 UTC

# Line 191 | Line 191 | main(int argc, char *argv[])
191                          goto badopt;
192                  }
193          }
194 +                                        /* set/check spectral sampling */
195 +        if (setspectrsamp(CNDX, WLPART) <= 0)
196 +                error(USER, "unsupported spectral sampling");
197 +
198          err = setview(&ourview);        /* set viewing parameters */
199          if (err != NULL)
200                  error(USER, err);
# Line 257 | Line 261 | badopt:
261  
262   void
263   wputs(                          /* warning output function */
264 <        char    *s
264 >        const char      *s
265   )
266   {
267          int  lasterrno = errno;
# Line 268 | Line 272 | wputs(                         /* warning output function */
272  
273   void
274   eputs(                          /* put string to stderr */
275 <        char  *s
275 >        const char  *s
276   )
277   {
278          static int  midline = 0;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines