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

Comparing ray/src/rt/source.c (file contents):
Revision 2.74 by greg, Thu Dec 17 03:30:37 2020 UTC vs.
Revision 2.75 by greg, Mon Jan 4 19:07:15 2021 UTC

# Line 364 | Line 364 | sourcehit(                     /* check to see if ray hit distant source
364                          return(0);      /* nothing usable */
365          }
366          /*
367 <         * Make assignments.
367 >         * Assign object index
368           */
369          r->robj = objndx(r->ro);
370        for (i = 0; i < 3; i++)
371                r->ron[i] = -r->rdir[i];
372        r->rod = 1.0;
373        r->pert[0] = r->pert[1] = r->pert[2] = 0.0;
374        r->uv[0] = r->uv[1] = 0.0;
375        r->rox = NULL;
370          return(1);
371   }
372  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines