()
| 543 | // no stale objects). Catches incomplete `clear()` on collapse. |
| 544 | octree.max_objects = 1; |
| 545 | const round = () => { |
| 546 | const a = makeItem({ x: 50, y: 50, z: -50 }); |
| 547 | const b = makeItem({ x: 500, y: 50, z: -50 }); |
| 548 | octree.insert(a); |
| 549 | octree.insert(b); |
| 550 | octree.remove(a); |
| 551 | octree.remove(b); |
| 552 | }; |
| 553 | for (let i = 0; i < 5; i++) { |
| 554 | round(); |
| 555 | } |
no test coverage detected