This QuadTree package is built for libtilegen. While it may be useful for other applications, it's intend is to provide a quad tree for a geographical world extent.
We recommend cloning this repo as a git submodule somewhere within your project.
Then using CMake's add_subdirectory
directive so that it's included as part of your build system, building using
whatever toolchain you're using. Use the tpquadtree name for linking.
This package has subdependencies, therefore you must also init them:
cd quadtree
git submodule update --init
Releases are by tags only. We do not build prebuilt binaries for this package. Tags can be used to pin to a specific version if desired.
This section is for TotalPave employees.
Our only dependency is our own Extent package, which is a git submodule under /third_party/extent
To update it:
- go into the submodule directory
/third_praty/extent git pullany changes from upstream.git checkoutthe tag to pin to.cd ..up one directory.- Now we add the submodule change to the main repo.
git add extent - Commit:
git commit -m "dep(extent): v<x.y.z>
- Open
CMakeLists.txtand change theVERSIONto match the version you intend to release. Follow Semantic Versioning rules. - Commit the change.
- Tag the commit
v<x.y.z>. - Push the commit & tags (
git push && git push --tags)