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.16 by greg, Fri Sep 23 19:04:53 2005 UTC vs.
Revision 2.19 by greg, Mon Sep 15 00:54:39 2014 UTC

# Line 19 | Line 19 | extern "C" {
19   #ifndef  SHADCACHE
20   #define  SHADCACHE      20              /* shadow cache resolution */
21   #endif
22 + #ifndef  MINSHADCNT
23 + #define  MINSHADCNT     4               /* test all sources if this few */
24 + #endif
25  
26   #define  SDISTANT       01              /* source distant flag */
27   #define  SSKIP          02              /* source skip flag */
# Line 26 | Line 29 | extern "C" {
29   #define  SSPOT          010             /* source spotlight flag */
30   #define  SVIRTUAL       020             /* source virtual flag */
31   #define  SFLAT          040             /* source flat flag */
32 < #define  SCYL           0100            /* source cylindrical flag */
33 < #define  SFOLLOW        0200            /* source follow path flag */
32 > #define  SCIR           0100            /* source circular flag */
33 > #define  SCYL           0200            /* source cylindrical flag */
34 > #define  SFOLLOW        0400            /* source follow path flag */
35  
36   typedef struct {
37          FVECT  aim;             /* aim direction or center */
# Line 152 | Line 156 | typedef void srcdirf_t(COLOR cv, void *np, FVECT ldir,
156   extern void     direct(RAY *r, srcdirf_t *f, void *p);
157   extern void     srcscatter(RAY *r);
158   extern int      m_light(OBJREC *m, RAY *r);
159 +                                        /* defined in srcobstr.c */
160   extern void     initobscache(int sn);
161   extern int      srcblocker(RAY *r);
162   extern int      srcblocked(RAY *r);
163   extern void     freeobscache(SRCREC *s);
164 + extern void     markclip(OBJREC *m);
165                                          /* defined in srcsamp.c */
166   extern double   nextssamp(RAY *r, SRCINDEX *si);
167   extern int      skipparts(int ct[3], int sz[3], int pp[2], unsigned char *pt);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines