| 31 |
|
#define istree(ot) ((ot) > EMPTY) |
| 32 |
|
|
| 33 |
|
#define oseti(ot) (-(ot)-2) /* object set index */ |
| 34 |
< |
#define octbi(ot) ((ot)>>8) /* octree block index */ |
| 35 |
< |
#define octti(ot) (((ot)&0377)<<3)/* octree index in block */ |
| 34 |
> |
#define OCTBLKSIZ 04000 /* octree block size */ |
| 35 |
> |
#define octbi(ot) ((ot)>>11) /* octree block index */ |
| 36 |
> |
#define octti(ot) (((ot)&03777)<<3)/* octree index in block */ |
| 37 |
|
|
| 38 |
|
#ifndef MAXOBLK |
| 39 |
|
#ifdef BIGMEM |
| 40 |
< |
#define MAXOBLK 65535 /* maximum octree block */ |
| 40 |
> |
#define MAXOBLK 32767 /* maximum octree block */ |
| 41 |
|
#else |
| 42 |
< |
#define MAXOBLK 8191 /* maximum octree block */ |
| 42 |
> |
#define MAXOBLK 4095 /* maximum octree block */ |
| 43 |
|
#endif |
| 44 |
|
#endif |
| 45 |
|
|