summaryrefslogtreecommitdiff
path: root/src/mbgl/text/check_max_angle.hpp
blob: 008e70b5da3d256f1be9247996cd7b4a053c994e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#pragma once

#include <mbgl/tile/geometry_tile_data.hpp>

namespace mbgl {

struct Anchor;

bool checkMaxAngle(const GeometryCoordinates &line, Anchor &anchor, const float labelLength,
        const float windowSize, const float maxAngle);

} // namespace mbgl