![]() |
Oolite 1.91.0.7678-250623-7b2f98d
|
import "Octree.h"
import "OOMaths.h"
import "Entity.h"
import "OOOpenGL.h"
import "OODebugGLDrawing.h"
import "OOMacroOpenGL.h"
import "OODebugFlags.h"
import "NSObjectOOExtensions.h"
import "OOCollectionExtractors.h"
Go to the source code of this file.
Classes | |
struct | Octree_details |
category | Octree(Private) |
Macros | |
#define | OctreeDebugLog(format, ...) |
#define | OCTREE_COLOR(r, g, b, a) |
Enumerations | |
enum | { kMinimumBuilderCapacity = 16 << 10 } |
Functions | |
static BOOL | isHitByLine (const int *octbuffer, unsigned char *collbuffer, int level, GLfloat rad, Vector v0, Vector v1, Vector off, int face_hit) |
static GLfloat | volumeOfOctree (Octree_details octree_details, unsigned depthLimit) |
static Vector | randomFullNodeFrom (Octree_details details, Vector offset) |
static BOOL | isHitByOctree (Octree_details axialDetails, Octree_details otherDetails, Vector delta, Triangle other_ijk) |
Variables | |
static const int | change_oct [] = { 0, 1, 2, 4, 3, 5, 6, 7 } |
static BOOL | drawTestForCollisions |
static BOOL | hasCollided = NO |
static GLfloat | hit_dist = 0.0 |
#define OCTREE_COLOR | ( | r, | |
g, | |||
b, | |||
a ) |
Definition at line 200 of file Octree.m.
Referenced by Octree(Private)::drawOctreeFromLocation:loc:scale:.
#define OctreeDebugLog | ( | format, | |
... ) |
Definition at line 37 of file Octree.m.
Referenced by Octree::isHitByLine, Octree::isHitByLine:v0:, and Octree::isHitByOctree.
anonymous enum |
Enumerator | |
---|---|
kMinimumBuilderCapacity |
Definition at line 779 of file Octree.m.
|
static |
Referenced by Octree::isHitByLine:v0:, and Octree::isHitByLineSub.
|
static |
Referenced by ShipEntity::doOctreesCollide, Octree::isHitByOctree, Octree::isHitByOctree:withOrigin:andIJK:, and Octree::isHitByOctree:withOrigin:andIJK:andScales:s1:.
|
static |
Referenced by Octree::randomFullNodeFrom, and Octree::randomPoint.
|
static |
Referenced by Octree::volume, and Octree::volumeOfOctree.
|
static |
Definition at line 68 of file Octree.m.
Referenced by Octree::isHitByOctree.
|
static |
Definition at line 270 of file Octree.m.
Referenced by Octree(Private)::drawOctreeCollisionFromLocation:loc:scale:, and Octree::drawOctreeCollisions.
|
static |
Definition at line 370 of file Octree.m.
Referenced by Octree::isHitByLine, and Octree::isHitByLine:v0:.
|
static |
Definition at line 371 of file Octree.m.
Referenced by Octree::isHitByLine, and Octree::isHitByLine:v0:.