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.36 by greg, Thu Mar 12 17:19:18 2020 UTC

# 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