26 this->
m_points = std::move(p.m_points);
34 this->
m_points = std::move(p.m_points);
48 meta::vector<unsigned int>
indices;
49 meta::vector<graphics::Vertex>
vertices;
54 graphics::Vertex vertex;
thread_local const float vertices[]
Video.cpp galaxy.
thread_local const unsigned int indices[]
void buffer(std::span< Vertex > vertices, std::span< unsigned int > indicies)
Create vertex array object.
An open looped line of points.
void create(const meta::vector< glm::vec2 > &points)
List of points to create a line from.
const meta::vector< glm::vec2 > & points() const
Get list of points.
Polyline & operator=(Polyline &&)
Move assignment operator.
virtual ~Polyline()
Destructor.
meta::vector< glm::vec2 > m_points
List of points.
VertexArray m_vao
Vertex Array Object.
Shape & operator=(Shape &&)
Move assignment operator.
unsigned int m_mode
Type to render i.e. GL_LINES, GL_TRIANGLES, etc.
float m_height
Cached height.
float m_width
Cached width.