53 |
|
*/ |
54 |
|
|
55 |
|
typedef struct { |
56 |
– |
OCTREE cutree; /* the octree for this cube */ |
56 |
|
FVECT cuorg; /* the cube origin */ |
57 |
|
double cusize; /* the cube size */ |
58 |
+ |
OCTREE cutree; /* the octree for this cube */ |
59 |
|
} CUBE; |
60 |
|
|
61 |
|
extern CUBE thescene; /* the main scene */ |
88 |
|
extern void octdone(void); |
89 |
|
extern OCTREE combine(OCTREE ot); |
90 |
|
extern void culocate(CUBE *cu, FVECT pt); |
91 |
– |
extern void cucopy(CUBE *cu1, CUBE *cu2); |
91 |
|
extern int incube(CUBE *cu, FVECT pt); |
92 |
|
|
93 |
|
extern int readoct(char *fname, int load, CUBE *scene, char *ofn[]); |