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

Comparing ray/src/rt/source.h (file contents):
Revision 2.19 by greg, Mon Sep 15 00:54:39 2014 UTC vs.
Revision 2.22 by greg, Thu Dec 17 03:30:37 2020 UTC

# Line 20 | Line 20 | extern "C" {
20   #define  SHADCACHE      20              /* shadow cache resolution */
21   #endif
22   #ifndef  MINSHADCNT
23 < #define  MINSHADCNT     4               /* test all sources if this few */
23 > #define  MINSHADCNT     2               /* test at least this many shadows */
24   #endif
25  
26   #define  SDISTANT       01              /* source distant flag */
# Line 146 | Line 146 | extern int  nsources;                  /* the number of sources */
146   #define  setsource(s,o)         (*sfun[(o)->otype].of->setsrc)(s,o)
147  
148                                          /* defined in source.c */
149 extern OBJREC   *findmaterial(OBJREC *o);
149   extern void     marksources(void);
150 + extern void     distantsources(void);
151   extern void     freesources(void);
152   extern int      srcray(RAY *sr, RAY *r, SRCINDEX *si);
153   extern void     srcvalue(RAY *r);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines