49 Shape(
const std::vector<float>& vertices);
71 std::vector<float> vertices;
72 unsigned int VAO, VBO;
void draw()
Renders the shape to the screen.
~Shape()
Destroy the Shape object and release OpenGL resources.
Shape(const std::vector< float > &vertices)
Construct a new Shape object with the given vertices.
Transform2D tr
The 2D transformation applied to the shape.