charcoal/OpenGLEngine/MySimpleScene.h

31 lines
395 B
C
Raw Normal View History

2018-09-04 19:25:54 +00:00
#pragma once
#include <time.h>
#include "Scene.h"
2018-09-05 06:49:02 +00:00
#include "MyShaderProgram.h"
#include "MyTriangle.h"
2018-09-04 19:25:54 +00:00
class MySimpleScene :
public Scene
{
public:
MySimpleScene();
~MySimpleScene();
void use() override;
void unuse() override;
void update(float delta_time, clock_t clock) override;
void render() override;
2018-09-05 06:49:02 +00:00
private:
MyShaderProgram m_shader_program;
MyTriangle m_triangle;
2018-09-04 19:25:54 +00:00
};