31 lines
395 B
C++
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;
|
|
};
|
|
|