# | Line 11 | Line 11 | |
---|---|---|
11 | /* view types */ | |
12 | #define VT_PER 'v' /* perspective */ | |
13 | #define VT_PAR 'l' /* parallel */ | |
14 | + | #define VT_ANG 'a' /* angular fisheye */ |
15 | + | #define VT_HEM 'h' /* hemispherical fisheye */ |
16 | ||
17 | typedef struct { | |
18 | int type; /* view type */ | |
# | Line 34 | Line 36 | extern char *setview(); | |
36 | extern double sqrt(); | |
37 | ||
38 | #define viewaspect(v) sqrt((v)->vn2/(v)->hn2) | |
37 | – | |
38 | – | #define copyview(d,s) bcopy((char *)(s),(char *)(d),sizeof(VIEW)) |
39 | ||
40 | #define STDVIEW {VT_PER,0.,0.,0.,0.,1.,0.,0.,0.,1.,45.,45.,0.,0.} | |
41 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |