31#define OCTREE_MIN_HALF_WIDTH 1.0
34#if !defined(OODEBUGLDRAWING_DISABLE) && defined(NDEBUG)
35#define OODEBUGLDRAWING_DISABLE 1
58- (id) initWithDictionary:(NSDictionary *)dictionary;
60- (
Octree *) octreeScaledBy:(GLfloat)factor;
62#ifndef OODEBUGLDRAWING_DISABLE
64- (void) drawOctreeCollisions;
70- (BOOL)
isHitByOctree:(
Octree *)other withOrigin:(Vector)origin andIJK:(Triangle)ijk andScales:(GLfloat)s1 :(GLfloat)s2;
72- (NSDictionary *) dictionaryRepresentation;
76- (Vector) randomPoint;
112- (
Octree *) buildOctreeWithRadius:(GLfloat)radius;
132- (void) beginInnerNode;
133- (void) endInnerNode;
static BOOL isHitByLine(const int *octbuffer, unsigned char *collbuffer, int level, GLfloat rad, Vector v0, Vector v1, Vector off, int face_hit)
static BOOL isHitByOctree(Octree_details axialDetails, Octree_details otherDetails, Vector delta, Triangle other_ijk)
struct OOOctreeBuilder::OOOctreeBuildState _stateStack[kMaxOctreeDepth+1]
unsigned char * _collisionOctree