Description
class OctreeBlock
Constructor
new OctreeBlock(minPoint, maxPoint, capacity, depth, maxDepth, creationFunc)
Parameters
|
Name |
Type |
Description |
|
minPoint |
Vector3 |
|
|
maxPoint |
Vector3 |
|
|
capacity |
number |
|
|
depth |
number |
|
|
maxDepth |
number |
|
|
creationFunc |
|
entry |
T |
|
|
block |
OctreeBlock<T> |
|
Members
entries : T[]
capacity : number
Methods
addEntry(entry) → void
Parameters
|
Name |
Type |
Description |
|
entry |
T |
|
addEntries(entries) → void
Parameters
|
Name |
Type |
Description |
|
entries |
T[] |
|
select(frustumPlanes, selection, allowDuplicate) → void
Parameters
intersects(sphereCenter, sphereRadius, selection, allowDuplicate) → void
Parameters
intersectsRay(ray, selection) → void
Parameters
createInnerBlocks() → void