Revision: | 1.1 |
Committed: | Sat Oct 2 15:54:43 2004 UTC (19 years, 8 months ago) by root |
Content type: | text/plain |
Branch: | MAIN |
Log Message: | *** empty log message *** |
# | Content |
---|---|
1 | #ifndef OCT_H |
2 | #define OCT_H |
3 | |
4 | using namespace std; |
5 | |
6 | struct entity_base; |
7 | |
8 | struct octant { |
9 | struct octant *parent; |
10 | /* front 01 back 45 |
11 | * 23 67 */ |
12 | struct octant *sub[8]; |
13 | |
14 | void add (entity_base *e); |
15 | void remove (entity_base *e); |
16 | |
17 | ~octant (); |
18 | }; |
19 | |
20 | #endif |