blob: 339269943181f15830cd4d74a965009f74a18166 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#include <mbgl/geometry/fill_buffer.hpp>
#include <mbgl/platform/gl.hpp>
#include <climits>
using namespace mbgl;
void FillVertexBuffer::add(vertex_type x, vertex_type y) {
vertex_type *vertices = static_cast<vertex_type *>(addElement());
vertices[0] = x;
vertices[1] = y;
}
|