10#include "galaxy/meta/Memory.hpp"
34 meta::vector<unsigned int>
indices = {0u};
35 meta::vector<graphics::Vertex>
vertices = {vertex};
thread_local const float vertices[]
Video.cpp galaxy.
thread_local const unsigned int indices[]
virtual ~Point()
Destructor.
void create(const glm::vec2 &pos)
Initial point positon.
const glm::vec2 & pos() const
Get pos.
VertexArray m_vao
Vertex Array Object.
unsigned int m_mode
Type to render i.e. GL_LINES, GL_TRIANGLES, etc.
void buffer(std::span< Vertex > vertices, std::span< unsigned int > indicies)
Create vertex array object.
Represents a single vertex point.
glm::vec2 m_pos
Position..