# | Line 62 | Line 62 | extern CUBE thescene; /* the main scene */ | |
---|---|---|
62 | #define IO_BOUNDS 020 /* octree boundary */ | |
63 | #define IO_ALL (~0) /* everything */ | |
64 | /* magic number for octree files */ | |
65 | < | #define OCTMAGIC (275+sizeof(OBJECT)) |
65 | > | #define OCTMAGIC (283+sizeof(OBJECT)) |
66 | /* octree node types */ | |
67 | #define OT_EMPTY 0 | |
68 | #define OT_FULL 1 | |
69 | #define OT_TREE 2 | |
70 | + | /* return values for surface functions */ |
71 | + | #define O_MISS 0 /* no intersection */ |
72 | + | #define O_HIT 1 /* intersection */ |
73 | + | #define O_IN 2 /* cube contained entirely */ |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |