diff options
Diffstat (limited to 'src/mbgl/geometry/circle_buffer.cpp')
-rw-r--r-- | src/mbgl/geometry/circle_buffer.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mbgl/geometry/circle_buffer.cpp b/src/mbgl/geometry/circle_buffer.cpp index 74ccfa8267..cc31fb83bf 100644 --- a/src/mbgl/geometry/circle_buffer.cpp +++ b/src/mbgl/geometry/circle_buffer.cpp @@ -4,10 +4,12 @@ #include <climits> -using namespace mbgl; +namespace mbgl { void CircleVertexBuffer::add(vertex_type x, vertex_type y, float ex, float ey) { vertex_type *vertices = static_cast<vertex_type *>(addElement()); vertices[0] = (x * 2) + ((ex + 1) / 2); vertices[1] = (y * 2) + ((ey + 1) / 2); } + +} // namespace mbgl |