16 |
|
/* regular transformation */ |
17 |
|
typedef struct { |
18 |
|
MAT4 xfm; /* transform matrix */ |
19 |
< |
double sca; /* scalefactor */ |
19 |
> |
FLOAT sca; /* scalefactor */ |
20 |
|
} XF; |
21 |
|
/* complemetary tranformation */ |
22 |
|
typedef struct { |
49 |
|
extern int errno; /* system error number */ |
50 |
|
|
51 |
|
/* memory operations */ |
52 |
< |
#ifdef STRUCTASSIGN |
53 |
< |
#define copystruct(d,s) (*(d) = *(s)) |
54 |
< |
#else |
52 |
> |
#ifdef NOSTRUCTASS |
53 |
|
#define copystruct(d,s) bcopy((char *)(s),(char *)(d),sizeof(*(d))) |
54 |
+ |
#else |
55 |
+ |
#define copystruct(d,s) (*(d) = *(s)) |
56 |
|
#endif |
57 |
|
|
58 |
|
#ifndef BSD |