MCPcopy Create free account
hub / github.com/microsoft/SandDance / Quadtree

Function Quadtree

docs/app/js/sanddance-app.js:135865–135873  ·  view source on GitHub ↗
(x, y, x0, y0, x1, y1)

Source from the content-addressed store, hash-verified

135863}
135864exports.default = quadtree;
135865function Quadtree(x, y, x0, y0, x1, y1) {
135866 this._x = x;
135867 this._y = y;
135868 this._x0 = x0;
135869 this._y0 = y0;
135870 this._x1 = x1;
135871 this._y1 = y1;
135872 this._root = undefined;
135873}
135874function leaf_copy(leaf) {
135875 var copy = {
135876 data: leaf.data

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected