rename point => icon
This commit is contained in:
12
src/geometry/icon_buffer.cpp
Normal file
12
src/geometry/icon_buffer.cpp
Normal file
@@ -0,0 +1,12 @@
|
||||
#include <llmr/geometry/icon_buffer.hpp>
|
||||
#include <llmr/platform/gl.hpp>
|
||||
|
||||
#include <cmath>
|
||||
|
||||
using namespace llmr;
|
||||
|
||||
void IconVertexBuffer::add(vertex_type x, vertex_type y) {
|
||||
vertex_type *vertices = static_cast<vertex_type *>(addElement());
|
||||
vertices[0] = x;
|
||||
vertices[1] = y;
|
||||
}
|
||||
Reference in New Issue
Block a user