charcoal/OpenGLEngine/MySimpleScene.h
elipzer b494f68d0c A Working Triangle
Now using GLFW3 instead of the custom window class. This library
looks like it will make development much simpler and will make it
so that I am less worried about my windows code breaking. Currently
setup the http://antongerdelan.net/opengl/hellotriangle.html
tutorial in the MySimpleScene. Will probably create another scene
file to try to get the object oriented stuff working.
2018-09-05 16:26:50 -04:00

38 lines
493 B
C++

#pragma once
#include <time.h>
#include "Scene.h"
#include "MyBatch.h"
#include "MyShaderProgram.h"
#include "MyTriangle.h"
class MySimpleScene :
public Scene
{
public:
MySimpleScene();
~MySimpleScene();
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;
MyShaderProgram m_shader_program;
//MyTriangle m_triangle;
GLuint m_vbo;
GLuint m_vao;
};