charcoal/OpenGLEngine/MySimpleScene.h
2018-09-05 02:49:02 -04:00

31 lines
395 B
C++

#pragma once
#include <time.h>
#include "Scene.h"
#include "MyShaderProgram.h"
#include "MyTriangle.h"
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;
private:
MyShaderProgram m_shader_program;
MyTriangle m_triangle;
};