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

Comparing ray/src/rt/srcobstr.c (file contents):
Revision 2.19 by greg, Wed Feb 22 03:16:20 2017 UTC vs.
Revision 2.20 by greg, Fri Apr 5 01:10:26 2024 UTC

# Line 39 | Line 39 | castshadow(int sn, FVECT rorg, FVECT rdir)
39                                          /* check for intersection */
40          while (localhit(&rt, &thescene)) {
41                  RAY     rt1 = rt;       /* pretend we were aimed at source */
42 <                rt1.crtype |= rt1.rtype = SHADOW;
42 >                rt1.crtype |= rt1.rtype = RSHADOW;
43                  rt1.rdir[0] = -rt.rdir[0];
44                  rt1.rdir[1] = -rt.rdir[1];
45                  rt1.rdir[2] = -rt.rdir[2];

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines