Simplify and optimize Hilbert tile ID <-> XYZ conversion (#527)

* Optimize Hilbert tile ID <-> XYZ conversion

* biome

* tile_id: more improvements

* tile_id(cpp): uint32
This commit is contained in:
Taku Fukada
2025-02-21 16:37:49 +09:00
committed by GitHub
parent caa8f1f726
commit 9b69ab4b64
4 changed files with 122 additions and 157 deletions

View File

@@ -72,7 +72,6 @@ MU_TEST(test_roundtrip) {
} catch (const std::runtime_error &e) {
caught = true;
}
mu_check(caught);
caught = false;
@@ -81,7 +80,6 @@ MU_TEST(test_roundtrip) {
} catch (const std::runtime_error &e) {
caught = true;
}
mu_check(caught);
caught = false;
@@ -90,7 +88,6 @@ MU_TEST(test_roundtrip) {
} catch (const std::runtime_error &e) {
caught = true;
}
mu_check(caught);
caught = false;