summaryrefslogtreecommitdiff
path: root/src/mbgl/geometry/collision_box_buffer.hpp
blob: 3e4cdb99d2d55c75bbf698a144522e905ed798af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#pragma once

#include <mbgl/geometry/buffer.hpp>
#include <array>

namespace mbgl {

class CollisionBoxVertexBuffer : public Buffer <
    12,
    gl::BufferType::Vertex,
    32768
> {
public:
    typedef int16_t vertex_type;

    size_t add(int16_t x, int16_t y, float ex, float ey, float maxzoom, float placementZoom);
};


} // namespace mbgl