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 2.7 by greg, Thu Jan 13 09:45:08 1994 UTC vs.
Revision 2.8 by greg, Tue Dec 5 11:46:00 1995 UTC

# Line 84 | Line 84 | register RAY  *r;
84                  setcolor(mcolor, pow(m->oargs.farg[0], r->rot),
85                                   pow(m->oargs.farg[1], r->rot),
86                                   pow(m->oargs.farg[2], r->rot));
87 +                multcolor(mcolor, r->pcol);     /* modify */
88          } else {                                /* outside */
89                  nratio = 1.0 / nratio;
90                  if (m->otype == MAT_INTERFACE)
# Line 134 | Line 135 | register RAY  *r;
135   #endif
136                          {
137                                  rayvalue(&p);
137                                multcolor(mcolor, r->pcol);     /* modify */
138                                  scalecolor(p.rcol, trans);
139                                  addcolor(r->rcol, p.rcol);
140                                  if (nratio >= 1.0-FTINY && nratio <= 1.0+FTINY)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines