[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)
This commit is contained in:
Bruno de Oliveira Abinader
2016-10-29 18:13:12 +03:00
parent a70bfd8910
commit 38f536049a
10 changed files with 43 additions and 29 deletions

View File

@@ -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 {