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

Comparing ray/src/rt/srcsupp.c (file contents):
Revision 2.24 by greg, Thu Aug 4 22:43:46 2022 UTC vs.
Revision 2.25 by greg, Wed Aug 7 18:33:33 2024 UTC

# Line 175 | Line 175 | ssetsrc(                       /* set a source as a source */
175          src->srad = sqrt(src->ss2/PI);
176          VCOPY(src->snorm, src->sloc);
177          setflatss(src);                 /* hey, whatever works */
178 +        src->ss[SW][0] = src->ss[SW][1] = src->ss[SW][2] = 0.0;
179   }
180  
181  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines