Files
MapLibreParticleLab/src/mbgl/geometry/fill_buffer.hpp
2015-12-03 15:38:36 +01:00

22 lines
386 B
C++

#ifndef MBGL_GEOMETRY_FILL_BUFFER
#define MBGL_GEOMETRY_FILL_BUFFER
#include <mbgl/geometry/buffer.hpp>
#include <vector>
#include <cstdint>
namespace mbgl {
class FillVertexBuffer : public Buffer<
4 // bytes per coordinates (2 * unsigned short == 4 bytes)
> {
public:
typedef int16_t vertex_type;
void add(vertex_type x, vertex_type y);
};
} // namespace mbgl
#endif