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.1 by greg, Tue Nov 12 17:10:17 1991 UTC vs.
Revision 2.4 by greg, Tue Nov 7 12:40:36 1995 UTC

# Line 1 | Line 1
1 < /* Copyright (c) 1986 Regents of the University of California */
1 > /* Copyright (c) 1995 Regents of the University of California */
2  
3   /* SCCSid "$SunId$ LBL" */
4  
# Line 22 | Line 22
22   typedef struct {
23          FVECT  aim;             /* aim direction or center */
24          float  siz;             /* output solid angle or area */
25 <        float  flen;            /* focal length */
25 >        float  flen;            /* focal length (negative if distant source) */
26   } SPOT;                 /* spotlight */
27  
28   typedef struct {
# 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 */
# Line 127 | 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