charcoal/OpenGLEngine/MySimple3DScene.h
2018-09-11 01:18:17 -04:00

33 lines
518 B
C++

#pragma once
#include "Scene.h"
#include "Camera3D.h"
#include "MyBatch.h"
#include "MySimpleShaderProgram.h"
class MySimple3DScene : public Scene
{
public:
MySimple3DScene(Application& application);
~MySimple3DScene();
void init() override;
void use() override;
void unuse() override;
void update(float delta_time, clock_t clock) override;
void render() override;
private:
MyBatch m_batch;
MySimpleShaderProgram::Renderable m_shape;
MySimpleShaderProgram m_shader_program;
Camera3D m_camera;
};