Options
All
  • Public
  • Public/Protected
  • All
Menu

Class OctreeBlock

Hierarchy

  • OctreeBlock

Index

Constructors

constructor

  • newOctreeBlock(minPos: any, maxPos: any, capacity: any, depth: any, maxDepth: any, getBoundingShape: any): OctreeBlock

Properties

Private _getBoundingShape

_getBoundingShape: Function

blocks

blocks: null | OctreeBlock[]

boundingBox

boundingBox: aabb

capacity

capacity: number

depth

depth: number

entries

entries: FixedArray

maxDepth

maxDepth: number

maxPos

maxPos: Vec3

minPos

minPos: Vec3

Methods

addEntry

  • addEntry(entry: any): void

frustumSelect

  • frustumSelect(out: any, frustum: any): void

removeEntry

  • removeEntry(entry: any): void

select

  • select(out: any, shape: any): void

Generated using TypeDoc