# | Line 61 | Line 61 | register RAY *r; | |
---|---|---|
61 | ||
62 | if (r->rod < 0.0) /* reorient if necessary */ | |
63 | flipsurface(r); | |
64 | – | r->rt = r->rot; /* default ray length */ |
64 | transtest = 0; | |
65 | /* get modifiers */ | |
66 | raytexture(r, m->omod); | |
# | Line 88 | Line 87 | register RAY *r; | |
87 | for (i = 0; i < 3; i++) /* perturb direction */ | |
88 | p.rdir[i] = r->rdir[i] - r->pert[i]/RINDEX; | |
89 | normalize(p.rdir); | |
90 | < | } else |
90 | > | } else { |
91 | > | VCOPY(p.rdir, r->rdir); |
92 | transtest = 2; | |
93 | + | } |
94 | rayvalue(&p); | |
95 | multcolor(p.rcol, r->pcol); /* modify */ | |
96 | multcolor(p.rcol, trans); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |