mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-04 18:11:01 -05:00
Add depth first search chunk iteration std::function as argument
This commit is contained in:
@@ -37,6 +37,7 @@
|
||||
|
||||
#include <modules/globebrowsing/geometry/geodetic2.h>
|
||||
|
||||
#include <functional>
|
||||
|
||||
|
||||
|
||||
@@ -60,6 +61,8 @@ public:
|
||||
|
||||
bool isRoot() const;
|
||||
bool isLeaf() const;
|
||||
|
||||
void depthFirst(const std::function<void(const Chunk&)>& f) const;
|
||||
|
||||
|
||||
const ChunkNode& getChild(Quad quad) const;
|
||||
|
||||
Reference in New Issue
Block a user