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

#include <mbgl/tile/geometry_tile.hpp>

namespace mbgl {

struct Anchor;

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

} // namespace mbgl