Exposed RTree

This commit is contained in:
Richard Davey 2017-07-12 00:48:56 +01:00
parent a92ef5dc31
commit 140ed6b4df
3 changed files with 11 additions and 3 deletions

View file

@ -38,6 +38,8 @@ var Phaser = {
Sound: require('./sound'), Sound: require('./sound'),
Structs: require('./structs'),
Physics: require('./physics'), Physics: require('./physics'),
Class: require('./utils/Class'), Class: require('./utils/Class'),

View file

@ -1,6 +1,7 @@
var quickselect = require('../utils/array/QuickSelect'); var quickselect = require('../utils/array/QuickSelect');
// Phaser.Structs.RTree
/** /**
* RBush is a high-performance JavaScript library for 2D spatial indexing of points and rectangles. * RBush is a high-performance JavaScript library for 2D spatial indexing of points and rectangles.
* It's based on an optimized R-tree data structure with bulk insertion support. * It's based on an optimized R-tree data structure with bulk insertion support.

View file

@ -1,4 +1,9 @@
// Phaser.Structs
module.exports = { module.exports = {
Set: require('./Set'),
Map: require('./Map') Map: require('./Map'),
RTree: require('./RTree'),
Set: require('./Set')
}; };