diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2016-10-29 18:13:12 +0300 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2016-10-31 16:53:07 +0200 |
commit | 38f536049a8ed8f4bdf7706f4afcbbaf06c974c9 (patch) | |
tree | f65bb6ad0ebde1840e523b18d539f122548194ab /src/mbgl/algorithm | |
parent | a70bfd89108cf1aef75181819ae43e550a69255e (diff) | |
download | qtlocation-mapboxgl-38f536049a8ed8f4bdf7706f4afcbbaf06c974c9.tar.gz |
[core] Moved util::log2 to its own header
- Added util::{MIN,MAX}_ZOOM_F to avoid consecutive conversions from
double to float
- Move util::log2 to its own header (part of mbgl/math)
Diffstat (limited to 'src/mbgl/algorithm')
-rw-r--r-- | src/mbgl/algorithm/generate_clip_ids_impl.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/algorithm/generate_clip_ids_impl.hpp b/src/mbgl/algorithm/generate_clip_ids_impl.hpp index ff8f8d3fdf..47f7df12f9 100644 --- a/src/mbgl/algorithm/generate_clip_ids_impl.hpp +++ b/src/mbgl/algorithm/generate_clip_ids_impl.hpp @@ -1,7 +1,7 @@ #pragma once #include <mbgl/algorithm/generate_clip_ids.hpp> -#include <mbgl/util/math.hpp> +#include <mbgl/math/log2.hpp> #include <mbgl/platform/log.hpp> namespace mbgl { |