| # | Line 26 | Line 26 | typedef struct { | |
|---|---|---|
| 26 | FVECT vp; /* view origin */ | |
| 27 | FVECT vdir; /* view direction */ | |
| 28 | FVECT vup; /* view up */ | |
| 29 | + | double vdist; /* view distance */ |
| 30 | double horiz; /* horizontal view size */ | |
| 31 | double vert; /* vertical view size */ | |
| 32 | double hoff; /* horizontal image offset */ | |
| # | Line 43 | Line 44 | extern VIEW stdview; | |
| 44 | #define viewaspect(v) sqrt((v)->vn2/(v)->hn2) | |
| 45 | ||
| 46 | #define STDVIEW {VT_PER,{0.,0.,0.},{0.,1.,0.},{0.,0.,1.}, \ | |
| 47 | < | 45.,45.,0.,0.,0.,0., \ |
| 47 | > | 1.,45.,45.,0.,0.,0.,0., \ |
| 48 | {0.,0.,0.},{0.,0.,0.},0.,0.} | |
| 49 | ||
| 50 | #define VIEWSTR "VIEW=" | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |