diff --git a/docs/classes/RBush.html b/docs/classes/RBush.html
index 336d118e..501a045d 100644
--- a/docs/classes/RBush.html
+++ b/docs/classes/RBush.html
@@ -1,4 +1,4 @@
-
RBush | Detect-Collisions Index
Constructors
constructor
+
RBush | Detect-Collisions Constructors
constructor
- new RBush(maxEntries?): RBush
Properties
_maxEntries
_maxEntries: number
_minEntries
_minEntries: number
data
data: any
Methods
_adjustParentBBoxes
- _adjustParentBBoxes(bbox, path, level): void
Parameters
- bbox: any
- path: any
- level: any
Returns void
_all
- _all(node, result): any
Returns any
_allDistMargin
- _allDistMargin(node, m, M, compare): number
Parameters
- node: any
- m: any
- M: any
- compare: any
Returns number
_build
- _build(items, left, right, height): {
children: any;
height: number;
leaf: boolean;
maxX: number;
maxY: number;
minX: number;
minY: number;
} Parameters
- items: any
- left: any
- right: any
- height: any
Returns {
children: any;
height: number;
leaf: boolean;
maxX: number;
maxY: number;
minX: number;
minY: number;
}
children: any
height: number
leaf: boolean
maxX: number
maxY: number
minX: number
minY: number
_chooseSplitAxis
- _chooseSplitAxis(node, m, M): void
Returns void
_chooseSplitIndex
- _chooseSplitIndex(node, m, M): any
Returns any
_chooseSubtree
- _chooseSubtree(bbox, node, level, path): any
Parameters
- bbox: any
- node: any
- level: any
- path: any
Returns any
_condense
- _condense(path): void
Returns void
_insert
- _insert(item, level, isNode): void
Parameters
- item: any
- level: any
- isNode: any
Returns void
_split
- _split(insertPath, level): void
Parameters
- insertPath: any
- level: any
Returns void
_splitRoot
- _splitRoot(node, newNode): void
Returns void
all
- all(): any
Returns any
clear
- clear(): RBush
collides
- collides(bbox): boolean
Returns boolean
compareMinX
- compareMinX(a, b): number
Returns number
compareMinY
- compareMinY(a, b): number
Returns number
fromJSON
- fromJSON(data): RBush
insert
- insert(item): RBush
load
- load(data): RBush
remove
- remove(item, equalsFn): RBush
search
- search(bbox): any[]
Returns any[]
toBBox
- toBBox(item): any
Returns any
toJSON
- toJSON(): any
Returns any
+
Constructors
constructor
- new RBush(maxEntries?): RBush
Properties
_maxEntries
_maxEntries: number
_minEntries
_minEntries: number
Methods
_adjustParentBBoxes
- _adjustParentBBoxes(bbox, path, level): void
Parameters
- bbox: any
- path: any
- level: any
Returns void
_all
- _all(node, result): any
Returns any
_allDistMargin
- _allDistMargin(node, m, M, compare): number
Parameters
- node: any
- m: any
- M: any
- compare: any
Returns number
_build
- _build(items, left, right, height): {
children: any;
height: number;
leaf: boolean;
maxX: number;
maxY: number;
minX: number;
minY: number;
} Parameters
- items: any
- left: any
- right: any
- height: any
Returns {
children: any;
height: number;
leaf: boolean;
maxX: number;
maxY: number;
minX: number;
minY: number;
}
children: any
height: number
leaf: boolean
maxX: number
maxY: number
minX: number
minY: number
_chooseSplitAxis
- _chooseSplitAxis(node, m, M): void
Returns void
_chooseSplitIndex
- _chooseSplitIndex(node, m, M): any
Returns any
_chooseSubtree
- _chooseSubtree(bbox, node, level, path): any
Parameters
- bbox: any
- node: any
- level: any
- path: any
Returns any
_condense
- _condense(path): void
Returns void
_insert
- _insert(item, level, isNode): void
Parameters
- item: any
- level: any
- isNode: any
Returns void
_split
- _split(insertPath, level): void
Parameters
- insertPath: any
- level: any
Returns void
_splitRoot
- _splitRoot(node, newNode): void
Returns void
collides
- collides(bbox): boolean
Returns boolean
compareMinX
- compareMinX(a, b): number
Returns number
compareMinY
- compareMinY(a, b): number
Returns number
remove
- remove(item, equalsFn): RBush
search
- search(bbox): any[]
Returns any[]
toBBox
- toBBox(item): any
Returns any
diff --git a/docs/classes/System.html b/docs/classes/System.html
index 8eaeac28..7f65677f 100644
--- a/docs/classes/System.html
+++ b/docs/classes/System.html
@@ -47,13 +47,13 @@
traverse
update
updateBody
- Constructors
Properties
_maxEntries
_maxEntries: number
_minEntries
_minEntries: number
Constructors
Properties
_maxEntries
_maxEntries: number
_minEntries
_minEntries: number
Methods
_adjustParentBBoxes
- _adjustParentBBoxes(bbox, path, level): void
Parameters
- bbox: any
- path: any
- level: any
Returns void
_all
- _all(node, result): any
Returns any
_allDistMargin
- _allDistMargin(node, m, M, compare): number
Parameters
- node: any
- m: any
- M: any
- compare: any
Returns number
_build
- _build(items, left, right, height): {
children: any;
height: number;
leaf: boolean;
maxX: number;
maxY: number;
minX: number;
minY: number;
} Parameters
- items: any
- left: any
- right: any
- height: any
Returns {
children: any;
height: number;
leaf: boolean;
maxX: number;
maxY: number;
minX: number;
minY: number;
}
children: any
height: number
leaf: boolean
maxX: number
maxY: number
minX: number
minY: number
_chooseSplitAxis
- _chooseSplitAxis(node, m, M): void
Returns void
_chooseSplitIndex
- _chooseSplitIndex(node, m, M): any
Returns any
_chooseSubtree
- _chooseSubtree(bbox, node, level, path): any
Parameters
- bbox: any
- node: any
- level: any
- path: any
Returns any
_condense
- _condense(path): void
Returns void
_insert
- _insert(item, level, isNode): void
Parameters
- item: any
- level: any
- isNode: any
Returns void
_split
- _split(insertPath, level): void
Parameters
- insertPath: any
- level: any
Returns void
_splitRoot
- _splitRoot(node, newNode): void
Returns void
checkAll
- checkAll(callback?, response?): boolean
Methods
_adjustParentBBoxes
- _adjustParentBBoxes(bbox, path, level): void
Parameters
- bbox: any
- path: any
- level: any
Returns void
_all
- _all(node, result): any
Returns any
_allDistMargin
- _allDistMargin(node, m, M, compare): number
Parameters
- node: any
- m: any
- M: any
- compare: any
Returns number
_build
- _build(items, left, right, height): {
children: any;
height: number;
leaf: boolean;
maxX: number;
maxY: number;
minX: number;
minY: number;
} Parameters
- items: any
- left: any
- right: any
- height: any
Returns {
children: any;
height: number;
leaf: boolean;
maxX: number;
maxY: number;
minX: number;
minY: number;
}
children: any
height: number
leaf: boolean
maxX: number
maxY: number
minX: number
minY: number
_chooseSplitAxis
- _chooseSplitAxis(node, m, M): void
Returns void
_chooseSplitIndex
- _chooseSplitIndex(node, m, M): any
Returns any
_chooseSubtree
- _chooseSubtree(bbox, node, level, path): any
Parameters
- bbox: any
- node: any
- level: any
- path: any
Returns any
_condense
- _condense(path): void
Returns void
_insert
- _insert(item, level, isNode): void
Parameters
- item: any
- level: any
- isNode: any
Returns void
_split
- _split(insertPath, level): void
Parameters
- insertPath: any
- level: any
Returns void
_splitRoot
- _splitRoot(node, newNode): void
Returns void
checkAll
- checkAll(callback?, response?): boolean
Returns boolean
checkArea
- checkArea(area, callback?, response?): boolean
Returns boolean
checkCollision
- checkCollision(bodyA, bodyB, response?): boolean
Returns boolean
checkOne
- checkOne(body, callback?, response?): boolean
Returns boolean
collides
- collides(bbox): boolean
Returns boolean
compareMinX
- compareMinX(a, b): number
Returns number
compareMinY
- compareMinY(a, b): number
Returns number
createBox
- createBox(position, width, height, options?): Box
Returns boolean
collides
- collides(bbox): boolean
Returns boolean
compareMinX
- compareMinX(a, b): number
Returns number
compareMinY
- compareMinY(a, b): number
Returns number
createBox
- createBox(position, width, height, options?): Box
Returns Box
createCircle
- createCircle(position, radius, options?): Circle
createEllipse
- createEllipse(position, radiusX, radiusY?, step?, options?): Ellipse
createLine
- createLine(start, end, options?): Line
createPolygon
- createPolygon(position, points, options?): Polygon
draw
- draw(context): void
Parameters
- context: CanvasRenderingContext2D
Returns void
drawBVH
- drawBVH(context): void
Parameters
- context: CanvasRenderingContext2D
Returns void
getPotentials
- getPotentials(body): TBody[]
Parameters
- context: CanvasRenderingContext2D
Returns void
getPotentials
- getPotentials(body): TBody[]
insert
- insert(body): this
Returns this
remove
- remove(body, equals?): this
Returns this
search
- search(bbox): any[]
Returns any[]
separate
- separate(): void
Returns this
search
- search(bbox): any[]
Returns any[]
separate
- separate(): void
Returns void
separateBody
- separateBody(body): void
Returns void
toBBox
- toBBox(item): any
Returns any
traverse
- traverse(traverseFunction, __namedParameters?): undefined | TBody
Returns void
toBBox
- toBBox(item): any
Returns any
traverse
- traverse(traverseFunction, __namedParameters?): undefined | TBody
Returns undefined | TBody
update
- update(): void
Returns void
updateBody
- updateBody(body): void
Returns void
for raycasting
+