# | Line 257 | Line 257 | m_normal( /* color a ray that hit something normal * | |
---|---|---|
257 | VCOPY(nd.prdir, r->rdir); | |
258 | transtest = 2; | |
259 | } else { | |
260 | < | for (i = 0; i < 3; i++) /* perturb */ |
261 | < | nd.prdir[i] = r->rdir[i] - r->pert[i]; |
260 | > | /* perturb */ |
261 | > | VSUB(nd.prdir, r->rdir, r->pert); |
262 | if (DOT(nd.prdir, r->ron) < -FTINY) | |
263 | normalize(nd.prdir); /* OK */ | |
264 | else |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |