summaryrefslogtreecommitdiff
path: root/src/mbgl/geometry/icon_buffer.hpp
blob: 08c96870049f3cd60c9e17af5171aedfc464e199 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef MBGL_GEOMETRY_ICON_BUFFER
#define MBGL_GEOMETRY_ICON_BUFFER

#include <mbgl/geometry/buffer.hpp>

#include <array>

namespace mbgl {

    class IconVertexBuffer : public Buffer<
    20
    > {
    public:
        static const double angleFactor;

        size_t add(int16_t x, int16_t y, float ox, float oy, int16_t tx, int16_t ty, float angle, float minzoom, std::array<float, 2> range, float maxzoom, float labelminzoom);

    };

}

#endif