18 |
|
#include "copyright.h" |
19 |
|
|
20 |
|
typedef struct cone { |
21 |
< |
FLOAT *ca; /* cone arguments (o->oargs.farg) */ |
21 |
> |
RREAL *ca; /* cone arguments (o->oargs.farg) */ |
22 |
|
char p0, p1; /* indices for endpoints */ |
23 |
|
char r0, r1; /* indices for radii */ |
24 |
|
FVECT ad; /* axis direction vector */ |
25 |
< |
FLOAT al; /* axis length */ |
26 |
< |
FLOAT sl; /* side length */ |
27 |
< |
FLOAT (*tm)[4]; /* pointer to transformation matrix */ |
25 |
> |
RREAL al; /* axis length */ |
26 |
> |
RREAL sl; /* side length */ |
27 |
> |
RREAL (*tm)[4]; /* pointer to transformation matrix */ |
28 |
|
} CONE; |
29 |
|
|
30 |
|
#define CO_R0(co) ((co)->ca[(co)->r0]) |