remove addDegenerate()
This commit is contained in:
@@ -13,7 +13,6 @@ class FillVertexBuffer : public Buffer<
|
||||
public:
|
||||
typedef int16_t vertex_type;
|
||||
|
||||
void addDegenerate();
|
||||
void add(vertex_type x, vertex_type y);
|
||||
};
|
||||
|
||||
|
||||
@@ -5,12 +5,6 @@
|
||||
|
||||
using namespace llmr;
|
||||
|
||||
void FillVertexBuffer::addDegenerate() {
|
||||
vertex_type *vertices = static_cast<vertex_type *>(addElement());
|
||||
vertices[0] = 32767;
|
||||
vertices[1] = 0;
|
||||
}
|
||||
|
||||
void FillVertexBuffer::add(vertex_type x, vertex_type y) {
|
||||
vertex_type *vertices = static_cast<vertex_type *>(addElement());
|
||||
vertices[0] = x;
|
||||
|
||||
Reference in New Issue
Block a user