--- ray/src/rt/source.h 1989/06/08 09:35:41 1.4 +++ ray/src/rt/source.h 1991/02/11 08:43:46 1.5 @@ -13,6 +13,8 @@ #define SPROX 04 /* source proximity flag */ #define SSPOT 010 /* source spotlight flag */ +#define AIMREQT 100 /* required aim success/failure */ + typedef struct { float siz; /* output solid angle */ float flen; /* focal length */ @@ -28,6 +30,7 @@ typedef struct { float prox; /* proximity */ SPOT *s; /* spot */ } sl; /* localized source information */ + int aimsuccess; /* aim successes - AIMREQT*failures */ long ntests, nhits; /* shadow tests and hits */ OBJREC *so; /* source object */ } SRCREC; /* light source */