This commit is contained in:
Yggdrasil75
2026-02-04 15:00:05 -05:00
parent b84c5f141e
commit 341066a0cf
5 changed files with 278 additions and 84 deletions

View File

@@ -646,6 +646,10 @@ public:
return searchNode(root_.get());
}
bool inGrid(PointType pos) {
return root_.contains(pos);
}
bool remove(const PointType& pos, float tolerance = 0.0001f) {
bool found = false;
std::function<bool(OctreeNode*)> removeNode = [&](OctreeNode* node) -> bool {