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

Comparing ray/src/rt/func.c (file contents):
Revision 2.35 by greg, Sat Aug 10 00:45:21 2019 UTC vs.
Revision 2.37 by greg, Sat Mar 14 16:25:46 2020 UTC

# Line 99 | Line 99 | set_eparams(char *prms)
99                  if ((prms = fskip(prms)) == NULL)
100                          goto bad_params;
101                  while (isspace(*prms)) prms++;
102 <                prms += (*prms == ',') | (*prms == ';');
102 >                prms += (*prms == ',') | (*prms == ';') | (*prms == ':');
103                  varset(vname, '=', value);
104          }
105          eclock++;               /* notify expression evaluator */
# Line 354 | Line 354 | chanvalue(                     /* return channel n to calcomp */
354                           / funcxf.sca );
355  
356          if (n <= 8) {                   /* intersection point */
357 <                if (fray->rot >= FHUGE)
357 >                if (fray->rot >= FHUGE*.99)
358                          return(0.0);    /* XXX should be runtime error? */
359  
360                  return( fray->rop[0]*funcxf.xfm[0][n-6] +

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines