charcoal/OpenGLEngine/MySimpleScene.h
elipzer 5a10a883fb Camera Class
Currently implemented a 2D camera class that creates an
orthographic projection matrix.

TODO is implementing a 3D camera class and test program.
2018-09-08 00:06:10 -04:00

32 lines
427 B
C++

#pragma once
#include "Scene.h"
#include "MyBatch.h"
#include "MyShaderProgram.h"
class MySimpleScene :
public Scene
{
public:
MySimpleScene(Application& application);
~MySimpleScene();
void init() override;
void use() override;
void unuse() override;
void update(float delta_time, clock_t clock) override;
void render() override;
private:
MyShaderProgram m_shader_program;
GLuint m_vbo;
GLuint m_vao;
};