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.3 by greg, Wed Jun 7 10:29:01 1989 UTC vs.
Revision 1.5 by greg, Mon Feb 11 08:43:46 1991 UTC

# Line 13 | Line 13
13   #define  SPROX          04              /* source proximity flag */
14   #define  SSPOT          010             /* source spotlight flag */
15  
16 + #define  AIMREQT        100             /* required aim success/failure */
17 +
18   typedef struct {
19          float  siz;             /* output solid angle */
20          float  flen;            /* focal length */
# Line 28 | Line 30 | typedef struct {
30                  float  prox;            /* proximity */
31                  SPOT  *s;               /* spot */
32          } sl;                   /* localized source information */
33 +        int  aimsuccess;        /* aim successes - AIMREQT*failures */
34          long  ntests, nhits;    /* shadow tests and hits */
35          OBJREC  *so;            /* source object */
36   }  SRCREC;              /* light source */
37  
38   typedef struct {
36        int  sno;               /* source number */
39          FVECT  dir;             /* source direction */
40          float  dom;             /* domega for source */
39        float  brt;             /* brightness (for comparison) */
41          COLOR  val;             /* contribution */
42   }  CONTRIB;             /* direct contribution */
43 +
44 + typedef struct {
45 +        int  sno;               /* source number */
46 +        float  brt;             /* brightness (for comparison) */
47 + }  CNTPTR;              /* contribution pointer */
48  
49   extern SRCREC  *source;                 /* our source list */
50   extern int  nsources;                   /* the number of sources */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines