11 |
|
#include "mesh.h" |
12 |
|
|
13 |
|
|
14 |
+ |
static void putfullnode(OCTREE fn, FILE *fp); |
15 |
+ |
static void puttree(OCTREE ot, FILE *fp); |
16 |
+ |
static void putpatch(MESHPATCH *pp, FILE *fp); |
17 |
+ |
|
18 |
+ |
|
19 |
|
static void |
20 |
< |
putfullnode(fn, fp) /* write out a full node */ |
21 |
< |
OCTREE fn; |
22 |
< |
FILE *fp; |
20 |
> |
putfullnode( /* write out a full node */ |
21 |
> |
OCTREE fn, |
22 |
> |
FILE *fp |
23 |
> |
) |
24 |
|
{ |
25 |
|
OBJECT oset[MAXSET+1]; |
26 |
|
register int i; |
32 |
|
|
33 |
|
|
34 |
|
static void |
35 |
< |
puttree(ot, fp) /* write octree to fp in pre-order form */ |
36 |
< |
register OCTREE ot; |
37 |
< |
FILE *fp; |
35 |
> |
puttree( /* write octree to fp in pre-order form */ |
36 |
> |
register OCTREE ot, |
37 |
> |
FILE *fp |
38 |
> |
) |
39 |
|
{ |
40 |
|
|
41 |
|
if (istree(ot)) { |
55 |
|
|
56 |
|
|
57 |
|
static void |
58 |
< |
putpatch(pp, fp) /* write out a mesh patch */ |
59 |
< |
register MESHPATCH *pp; |
60 |
< |
FILE *fp; |
58 |
> |
putpatch( /* write out a mesh patch */ |
59 |
> |
register MESHPATCH *pp, |
60 |
> |
FILE *fp |
61 |
> |
) |
62 |
|
{ |
63 |
|
int flags = MT_V; |
64 |
|
int i, j; |