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.78 by greg, Wed Apr 3 16:04:33 2019 UTC vs.
Revision 2.79 by greg, Thu Jul 25 16:50:54 2019 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          r->pert[0] = r->pert[1] = r->pert[2] = 0.0;
150 +        r->rflips = 0;
151          r->uv[0] = r->uv[1] = 0.0;
152          setcolor(r->pcol, 1.0, 1.0, 1.0);
153          setcolor(r->mcol, 0.0, 0.0, 0.0);
# Line 509 | Line 510 | flipsurface(                   /* reverse surface orientation */
510          r->pert[0] = -r->pert[0];
511          r->pert[1] = -r->pert[1];
512          r->pert[2] = -r->pert[2];
513 +        r->rflips++;
514   }
515  
516  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines