1 |
< |
/* Copyright (c) 1986 Regents of the University of California */ |
1 |
> |
/* Copyright (c) 1995 Regents of the University of California */ |
2 |
|
|
3 |
|
/* SCCSid "$SunId$ LBL" */ |
4 |
|
|
22 |
|
typedef struct { |
23 |
|
FVECT aim; /* aim direction or center */ |
24 |
|
float siz; /* output solid angle or area */ |
25 |
< |
float flen; /* focal length */ |
25 |
> |
float flen; /* focal length (negative if distant source) */ |
26 |
|
} SPOT; /* spotlight */ |
27 |
|
|
28 |
|
typedef struct { |
36 |
|
SPOT *s; /* spot */ |
37 |
|
} sl; /* localized source information */ |
38 |
|
union { |
39 |
< |
int success; /* successes - AIMREQT*failures */ |
39 |
> |
long success; /* successes - AIMREQT*failures */ |
40 |
|
struct { |
41 |
|
short pn; /* projection number */ |
42 |
< |
short sn; /* next source to aim for */ |
42 |
> |
int sn; /* next source to aim for */ |
43 |
|
} sv; /* virtual source */ |
44 |
|
} sa; /* source aiming information */ |
45 |
|
long ntests, nhits; /* shadow tests and hits */ |