4 |
|
* |
5 |
|
* Include after standard.h |
6 |
|
*/ |
7 |
+ |
#ifndef _RAD_CVMESH_H_ |
8 |
+ |
#define _RAD_CVMESH_H_ |
9 |
+ |
#ifdef __cplusplus |
10 |
+ |
extern "C" { |
11 |
+ |
#endif |
12 |
|
|
13 |
|
#include "octree.h" |
14 |
|
#include "object.h" |
18 |
|
|
19 |
|
extern FVECT meshbounds[2]; /* mesh bounding box */ |
20 |
|
|
16 |
– |
#ifdef NOPROTO |
21 |
|
|
18 |
– |
extern MESH *cvinit(); |
19 |
– |
extern int cvpoly(); |
20 |
– |
extern int cvtri(); |
21 |
– |
extern void cvmeshbounds(); |
22 |
– |
extern MESH *cvmesh(); |
23 |
– |
void wfreadobj(); |
24 |
– |
|
25 |
– |
#else |
26 |
– |
|
22 |
|
extern MESH *cvinit(char *nm); |
23 |
|
extern int cvpoly(OBJECT mo, int n, FVECT *vp, |
24 |
|
FVECT *vn, FLOAT (*vc)[2]); |
31 |
|
void wfreadobj(char *objfn); |
32 |
|
|
33 |
|
|
34 |
< |
#endif /* NOPROTO */ |
34 |
> |
#ifdef __cplusplus |
35 |
> |
} |
36 |
> |
#endif |
37 |
> |
#endif /* _RAD_CVMESH_H_ */ |
38 |
> |
|