change line_strip drawing for outlines to indexed lines
This commit is contained in:
@@ -9,6 +9,12 @@ void TriangleElementsBuffer::add(element_type a, element_type b, element_type c)
|
||||
elements[2] = c;
|
||||
}
|
||||
|
||||
void LineElementsBuffer::add(element_type a, element_type b) {
|
||||
element_type *elements = static_cast<element_type *>(addElement());
|
||||
elements[0] = a;
|
||||
elements[1] = b;
|
||||
}
|
||||
|
||||
void PointElementsBuffer::add(element_type a) {
|
||||
uint16_t *data = static_cast<element_type *>(addElement());
|
||||
data[0] = a;
|
||||
|
||||
Reference in New Issue
Block a user