#include "MySimpleScene.h" MySimpleScene::MySimpleScene() { } MySimpleScene::~MySimpleScene() { } void MySimpleScene::init() { m_shader_program.init(); m_triangle.init(); } void MySimpleScene::use() { } void MySimpleScene::unuse() { } void MySimpleScene::update(float delta_time, clock_t clock) { } void MySimpleScene::render() { m_shader_program.use(); glBindBuffer(GL_ARRAY_BUFFER, m_triangle.get_vbo()); glDrawArrays(GL_TRIANGLES, 0, 3); }