chore: dead code
This commit is contained in:
parent
ab522d80f8
commit
e50f4e9f1a
|
@ -115,10 +115,6 @@ class EntityListBase {
|
||||||
|
|
||||||
visibleEntities(query) {
|
visibleEntities(query) {
|
||||||
const quadTree = this._quadTree;
|
const quadTree = this._quadTree;
|
||||||
// const size = Rectangle.size(rectangle);
|
|
||||||
// let position = Rectangle.position(rectangle);
|
|
||||||
// position = Vector.add(position, Vector.scale(size, -0.5));
|
|
||||||
// const query = Rectangle.compose(position, size);
|
|
||||||
const entities = quadTree.search(query).map((node) => {
|
const entities = quadTree.search(query).map((node) => {
|
||||||
return node.data[2];
|
return node.data[2];
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue
Block a user