Go to the source code of this file.
|
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) |
|
◆ OCTREE_COLOR
#define OCTREE_COLOR |
( |
| r, |
|
|
| g, |
|
|
| b, |
|
|
| a ) |
◆ OctreeDebugLog
#define OctreeDebugLog |
( |
| format, |
|
|
| ... ) |
◆ anonymous enum
Enumerator |
---|
kMinimumBuilderCapacity | |
Definition at line 779 of file Octree.m.
780{
781
782
783
784
785
786
788};
@ kMinimumBuilderCapacity
◆ isHitByLine()
static BOOL isHitByLine |
( |
const int * | octbuffer, |
|
|
unsigned char * | collbuffer, |
|
|
int | level, |
|
|
GLfloat | rad, |
|
|
Vector | v0, |
|
|
Vector | v1, |
|
|
Vector | off, |
|
|
int | face_hit ) |
|
static |
◆ isHitByOctree()
◆ randomFullNodeFrom()
static Vector randomFullNodeFrom |
( |
Octree_details | details, |
|
|
Vector | offset ) |
|
static |
◆ volumeOfOctree()
static GLfloat volumeOfOctree |
( |
Octree_details | octree_details, |
|
|
unsigned | depthLimit ) |
|
static |
◆ change_oct
const int change_oct[] = { 0, 1, 2, 4, 3, 5, 6, 7 } |
|
static |
◆ drawTestForCollisions
BOOL drawTestForCollisions |
|
static |
◆ hasCollided
◆ hit_dist