46 |
|
OBJREC *so; /* source destination object */ |
47 |
|
} SRCREC; /* light source */ |
48 |
|
|
49 |
< |
#define MAXSPART 32 /* maximum partitions per source */ |
49 |
> |
#define MAXSPART 64 /* maximum partitions per source */ |
50 |
|
|
51 |
|
#define SU 0 /* U vector or partition */ |
52 |
|
#define SV 1 /* V vector or partition */ |
112 |
|
extern double scylform(); /* cosine to axis of cylinder */ |
113 |
|
|
114 |
|
#define sflatform(sn,dir) -DOT(source[sn].snorm, dir) |
115 |
+ |
|
116 |
+ |
extern OBJREC *vsmaterial(); /* virtual source material */ |
117 |
|
|
118 |
|
extern double intercircle(); /* intersect two circles */ |
119 |
|
extern double spotdisk(); /* intersecting disk for spot */ |