* add basic marker style to stylesheet * pass through marker style to PBF conversion * marker/point tile parsing, bucket, buffer, shaders, etc. * new sprite hosting for 1x/2x variants * sprite load accepts screen scale argument
20 lines
328 B
C++
20 lines
328 B
C++
#ifndef LLMR_GEOMETRY_POINT_BUFFER
|
|
#define LLMR_GEOMETRY_POINT_BUFFER
|
|
|
|
#include "buffer.hpp"
|
|
|
|
namespace llmr {
|
|
|
|
class PointVertexBuffer : public Buffer<
|
|
4 // 2 coordinates per vertex (== 4 bytes)
|
|
> {
|
|
public:
|
|
typedef int16_t vertex_type;
|
|
|
|
void add(vertex_type x, vertex_type y);
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|