5 |
|
* Include after fvect.h |
6 |
|
* Includes resolu.h |
7 |
|
*/ |
8 |
+ |
#ifndef _RAD_VIEW_H_ |
9 |
+ |
#define _RAD_VIEW_H_ |
10 |
+ |
#ifdef __cplusplus |
11 |
+ |
extern "C" { |
12 |
+ |
#endif |
13 |
|
|
14 |
|
#include "copyright.h" |
15 |
|
|
50 |
|
#define VIEWSTR "VIEW=" |
51 |
|
#define VIEWSTRL 5 |
52 |
|
|
48 |
– |
#ifdef NOPROTO |
53 |
|
|
50 |
– |
extern char *setview(); |
51 |
– |
extern void normaspect(); |
52 |
– |
extern double viewray(); |
53 |
– |
extern void viewloc(); |
54 |
– |
extern void pix2loc(); |
55 |
– |
extern void loc2pix(); |
56 |
– |
extern int getviewopt(); |
57 |
– |
extern int sscanview(); |
58 |
– |
extern void fprintview(); |
59 |
– |
extern char *viewopt(); |
60 |
– |
extern int isview(); |
61 |
– |
extern int viewfile(); |
62 |
– |
|
63 |
– |
#else |
64 |
– |
|
54 |
|
extern char *setview(VIEW *v); |
55 |
|
extern void normaspect(double va, double *ap, int *xp, int *yp); |
56 |
|
extern double viewray(FVECT orig, FVECT direc, VIEW *v, double x, double y); |
64 |
|
extern int isview(char *s); |
65 |
|
extern int viewfile(char *fname, VIEW *vp, RESOLU *rp); |
66 |
|
|
67 |
+ |
|
68 |
+ |
#ifdef __cplusplus |
69 |
+ |
} |
70 |
|
#endif |
71 |
+ |
#endif /* _RAD_VIEW_H_ */ |
72 |
+ |
|