rtrees are now created as a constructor

This commit is contained in:
2025-05-22 16:30:48 -05:00
parent 32366483dc
commit d0fdb469dd
5 changed files with 26 additions and 42 deletions

View File

@@ -1,5 +1,14 @@
/* main.js runs the demo with your prototype-based grid */
var rtree = use('rtree')
var mytree = new rtree
mytree.add()
mytree.kill()
for (var i in mytree) console.log(i)
var moth = use('moth')
var json = use('json')