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 1.14 by greg, Mon Oct 21 12:58:14 1991 UTC vs.
Revision 2.3 by greg, Tue Jul 25 16:42:31 1995 UTC

# Line 36 | Line 36 | typedef struct {
36                  SPOT  *s;               /* spot */
37          } sl;                   /* localized source information */
38          union {
39 <                int  success;           /* successes - AIMREQT*failures */
39 >                long  success;          /* successes - AIMREQT*failures */
40                  struct {
41                          short  pn;              /* projection number */
42 <                        short  sn;              /* next source to aim for */
42 >                        int  sn;                /* next source to aim for */
43                  }  sv;                  /* virtual source */
44          } sa;                   /* source aiming information */
45          long  ntests, nhits;    /* shadow tests and hits */
46          OBJREC  *so;            /* source destination object */
47   }  SRCREC;              /* light source */
48  
49 < #define MAXSPART        32              /* maximum partitions per source */
49 > #define MAXSPART        64              /* maximum partitions per source */
50  
51   #define SU              0               /* U vector or partition */
52   #define SV              1               /* V vector or partition */
# Line 113 | Line 113 | extern double  scylform();             /* cosine to axis of cylin
113  
114   #define  sflatform(sn,dir)      -DOT(source[sn].snorm, dir)
115  
116 + extern OBJREC  *vsmaterial();           /* virtual source material */
117 +
118   extern double  intercircle();           /* intersect two circles */
119   extern double  spotdisk();              /* intersecting disk for spot */
120   extern double  beamdisk();              /* intersecting disk for beam */
# Line 125 | Line 127 | extern double  shadcert;               /* shadow testing certainty
127   extern double  srcsizerat;              /* max. ratio of source size/dist. */
128   extern int  directrelay;                /* maximum number of source relays */
129   extern int  vspretest;                  /* virtual source pretest density */
130 < extern int  directinvis;                /* sources invisible? */
130 > extern int  directvis;                  /* sources visible? */
131  
132   #define  getplaneq(c,o)         (*sfun[(o)->otype].of->getpleq)(c,o)
133   #define  getmaxdisk(c,o)        (*sfun[(o)->otype].of->getdisk)(c,o)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines