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.1 by greg, Thu Feb 2 10:41:15 1989 UTC vs.
Revision 1.3 by greg, Wed Jun 7 10:29:01 1989 UTC

# Line 28 | Line 28 | typedef struct {
28                  float  prox;            /* proximity */
29                  SPOT  *s;               /* spot */
30          } sl;                   /* localized source information */
31 +        long  ntests, nhits;    /* shadow tests and hits */
32          OBJREC  *so;            /* source object */
33 < }  SOURCE;              /* light source */
33 > }  SRCREC;              /* light source */
34  
35 < #define  MAXSOURCE      512             /* maximum # of sources */
35 > typedef struct {
36 >        int  sno;               /* source number */
37 >        FVECT  dir;             /* source direction */
38 >        float  dom;             /* domega for source */
39 >        float  brt;             /* brightness (for comparison) */
40 >        COLOR  val;             /* contribution */
41 > }  CONTRIB;             /* direct contribution */
42  
43 < extern SOURCE  srcval[MAXSOURCE];       /* our source list */
43 > extern SRCREC  *source;                 /* our source list */
44   extern int  nsources;                   /* the number of sources */
45  
46 < extern double  srcray();                /* ray to source */
46 > extern double  srcray();                /* ray to source */
47  
48   extern SPOT  *makespot();               /* make spotlight */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines