| 472 | } |
| 473 | |
| 474 | bool QuadtreeAvailability::addLoadedSubtree( |
| 475 | AvailabilityNode* pNode, |
| 476 | AvailabilitySubtree&& newSubtree) noexcept { |
| 477 | if (!pNode || pNode->subtree) { |
| 478 | return false; |
| 479 | } |
| 480 | |
| 481 | pNode->setLoadedSubtree( |
| 482 | std::move(newSubtree), |
| 483 | this->_maximumChildrenSubtrees); |
| 484 | |
| 485 | return true; |
| 486 | } |
| 487 | |
| 488 | std::optional<uint32_t> QuadtreeAvailability::findChildNodeIndex( |
| 489 | const QuadtreeTileID& tileID, |
nothing calls this directly
no test coverage detected