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

Comparing ray/src/cv/bsdf2klems.c (file contents):
Revision 2.18 by greg, Wed May 27 11:39:37 2015 UTC vs.
Revision 2.19 by greg, Sun Jan 24 14:28:51 2016 UTC

# Line 446 | Line 446 | main(int argc, char *argv[])
446                          goto userr;
447                  }
448          if (single_plane_incident >= 0) {       /* function-based BSDF? */
449 <                if (i != argc-1 || fundefined(argv[i]) != 6) {
449 >                if (i != argc-1 || fundefined(argv[i]) < 3) {
450                          fprintf(stderr,
451          "%s: need single function with 6 arguments: bsdf(ix,iy,iz,ox,oy,oz)\n",
452                                          progname);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines