mirror of
https://github.com/photonstorm/phaser
synced 2024-11-22 12:43:26 +00:00
Exposed RTree
This commit is contained in:
parent
a92ef5dc31
commit
140ed6b4df
3 changed files with 11 additions and 3 deletions
|
@ -38,6 +38,8 @@ var Phaser = {
|
|||
|
||||
Sound: require('./sound'),
|
||||
|
||||
Structs: require('./structs'),
|
||||
|
||||
Physics: require('./physics'),
|
||||
|
||||
Class: require('./utils/Class'),
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
|
||||
var quickselect = require('../utils/array/QuickSelect');
|
||||
|
||||
// Phaser.Structs.RTree
|
||||
|
||||
/**
|
||||
* 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.
|
||||
|
|
|
@ -1,4 +1,9 @@
|
|||
// Phaser.Structs
|
||||
|
||||
module.exports = {
|
||||
Set: require('./Set'),
|
||||
Map: require('./Map')
|
||||
|
||||
Map: require('./Map'),
|
||||
RTree: require('./RTree'),
|
||||
Set: require('./Set')
|
||||
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue