| 38 | static const OctreeNode* child(const OctreeNode& node, int index) { return node.children[index].get(); } |
| 39 | static OctreeNode* child(OctreeNode& node, int index) { return node.children[index].get(); } |
| 40 | static void setChild(OctreeNode& node, int index, std::unique_ptr<OctreeNode> childNode) { node.children[index] = std::move(childNode); } |
| 41 | }; |
| 42 | |
| 43 | static bool isClose(float a, float b, float eps = 1e-4f) { |
nothing calls this directly
no outgoing calls
no test coverage detected