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

Comparing ray/src/rt/dielectric.c (file contents):
Revision 1.1 by greg, Thu Feb 2 10:41:21 1989 UTC vs.
Revision 1.2 by greg, Wed Jun 7 08:38:31 1989 UTC

# Line 92 | Line 92 | register RAY  *r;
92                  else
93                          setcolor(mcolor, 1.0, 1.0, 1.0);
94          }
95 <        mabsorp = intens(mcolor);
95 >        mabsorp = bright(mcolor);
96  
97          d2 = 1.0 - nratio*nratio*(1.0 - cos1*cos1);     /* compute cos theta2 */
98  
# Line 253 | Line 253 | double  tr;
253                                                  /* trace source ray */
254                  normalize(sray.rdir);
255                  rayvalue(&sray);
256 <                if (intens(sray.rcol) <= FTINY) /* missed it */
256 >                if (bright(sray.rcol) <= FTINY) /* missed it */
257                          continue;
258                  
259                  /*

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines