--- ray/src/rt/source.h 1991/10/21 12:58:14 1.14 +++ ray/src/rt/source.h 1991/11/12 17:10:17 2.1 @@ -46,7 +46,7 @@ typedef struct { OBJREC *so; /* source destination object */ } SRCREC; /* light source */ -#define MAXSPART 32 /* maximum partitions per source */ +#define MAXSPART 64 /* maximum partitions per source */ #define SU 0 /* U vector or partition */ #define SV 1 /* V vector or partition */ @@ -112,6 +112,8 @@ extern double nextssamp(); /* get next source sample extern double scylform(); /* cosine to axis of cylinder */ #define sflatform(sn,dir) -DOT(source[sn].snorm, dir) + +extern OBJREC *vsmaterial(); /* virtual source material */ extern double intercircle(); /* intersect two circles */ extern double spotdisk(); /* intersecting disk for spot */