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

Comparing ray/src/rt/raytrace.c (file contents):
Revision 2.81 by greg, Sun Mar 29 18:21:57 2020 UTC vs.
Revision 2.82 by greg, Mon Jan 4 19:07:15 2021 UTC

# Line 147 | Line 147 | rayclear(                      /* clear a ray for (re)evaluation */
147          r->rox = NULL;
148          r->rxt = r->rmt = r->rot = FHUGE;
149          VCOPY(r->rop, r->rorg);
150 +        r->ron[0] = -r->rdir[0]; r->ron[1] = -r->rdir[1]; r->ron[2] = -r->rdir[2];
151 +        r->rod = 1.0;
152          r->pert[0] = r->pert[1] = r->pert[2] = 0.0;
153          r->rflips = 0;
154          r->uv[0] = r->uv[1] = 0.0;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines