| 2 |
|
/* |
| 3 |
|
* view.h - header file for image generation. |
| 4 |
|
* |
| 5 |
< |
* Include after fvect.h |
| 5 |
> |
* Include after stdio.h and fvect.h |
| 6 |
|
* Includes resolu.h |
| 7 |
|
*/ |
| 8 |
|
#ifndef _RAD_VIEW_H_ |
| 11 |
|
extern "C" { |
| 12 |
|
#endif |
| 13 |
|
|
| 14 |
– |
#include "copyright.h" |
| 15 |
– |
|
| 14 |
|
#include "resolu.h" |
| 15 |
|
|
| 16 |
|
/* view types */ |
| 53 |
|
extern void normaspect(double va, double *ap, int *xp, int *yp); |
| 54 |
|
extern double viewray(FVECT orig, FVECT direc, VIEW *v, double x, double y); |
| 55 |
|
extern void viewloc(FVECT ip, VIEW *v, FVECT p); |
| 56 |
< |
extern void pix2loc(FLOAT loc[2], RESOLU *rp, int px, int py); |
| 56 |
> |
extern void pix2loc(RREAL loc[2], RESOLU *rp, int px, int py); |
| 57 |
|
extern void loc2pix(int pp[2], RESOLU *rp, double lx, double ly); |
| 58 |
|
extern int getviewopt(VIEW *v, int ac, char *av[]); |
| 59 |
|
extern int sscanview(VIEW *vp, char *s); |