2 |
|
/* |
3 |
|
* Header file for 3D warping routines. |
4 |
|
*/ |
5 |
+ |
#ifndef _RAD_WARP3D_H_ |
6 |
+ |
#define _RAD_WARP3D_H_ |
7 |
|
|
8 |
|
#include "lookup.h" |
9 |
|
|
10 |
+ |
#ifdef __cplusplus |
11 |
+ |
extern "C" { |
12 |
+ |
#endif |
13 |
+ |
|
14 |
|
/* interpolation flags */ |
15 |
|
#define W3EXACT 01 /* no interpolation (slow) */ |
16 |
|
#define W3FAST 02 /* discontinuous approx. (fast) */ |
46 |
|
extern WARP3D *new3dw(), *load3dw(); |
47 |
|
|
48 |
|
#define W3VCPY(v1,v2) ((v1)[0]=(v2)[0],(v1)[1]=(v2)[1],(v1)[2]=(v2)[2]) |
49 |
+ |
|
50 |
+ |
#ifdef __cplusplus |
51 |
+ |
} |
52 |
+ |
#endif |
53 |
+ |
#endif /* _RAD_WARP3D_H_ */ |
54 |
+ |
|