Example of usage
List<QuadTreePoint> points = new ArrayList<>();
for (int i = 0; i < 500; i++) {
QuadTreePoint p = new QuadTreePoint(
MathUtils.random() * 500f, // x
MathUtils.random() * 500f // y
);
points.add(p);
}
quadTreeController = new QuadTreeController(
0, 0, // x, y
500, 500, // width, height
points,
4 // capacity
);
QuadTreeRectangle range = new QuadTreeRectangle(225, 375, 107, 75);
quadTreeController.query(range);