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

Comparing ray/src/rt/p_data.c (file contents):
Revision 2.11 by greg, Wed Dec 13 23:26:16 2023 UTC vs.
Revision 2.12 by greg, Thu Dec 14 00:51:12 2023 UTC

# Line 295 | Line 295 | p_specdata(                    /* varied spectrum from (N+1)-D file */
295          dp = getdata(m->oargs.sarg[1]);
296          if (dp->nd < 2)
297                  objerror(m, USER, "need at least 2-dimensional data");
298        if (dp->dim[dp->nd-1].ne > MAXCSAMP)
299                objerror(m, USER, "too many spectral samples in data file");
298          i = (1 << (dp->nd-1)) - 1;
299          mf = getfunc(m, 2, i<<3, 0);
300          setfunc(m, r);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines