[android] add support for gnustl

This commit is contained in:
Konstantin Käfer
2018-06-21 14:44:00 +02:00
parent 30e570aae7
commit 4a3c4edb59
17 changed files with 59 additions and 29 deletions

View File

@@ -52,7 +52,7 @@ void CollisionFeature::bboxifyLabel(const GeometryCoordinates& line, GeometryCoo
// symbol spacing will put labels very close together in a pitched map.
// To reduce the cost of adding extra collision circles, we slowly increase
// them for overscaled tiles.
const float overscalingPaddingFactor = 1 + .4 * ::log2(static_cast<double>(overscaling));
const float overscalingPaddingFactor = 1 + .4 * util::log2(static_cast<double>(overscaling));
const int nPitchPaddingBoxes = std::floor(nBoxes * overscalingPaddingFactor / 2);
// offset the center of the first box by half a box so that the edge of the