charcoal/Example/MySimpleCubeScene.h
elipzer 7cbe8acf30 Libraries Work!
Now the code is being compiled through .lib files!
2018-10-11 01:26:24 -04:00

36 lines
608 B
C++

#pragma once
#include <charcoal/Scene.h>
#include <charcoal/Camera3D.h>
#include "MyBatch.h"
#include "MySimpleShaderProgram.h"
using namespace charcoal;
class MySimpleCubeScene : public Scene
{
public:
MySimpleCubeScene(Application& application);
~MySimpleCubeScene();
void init() override;
void use() override;
void unuse() override;
void update(float delta_time, clock_t clock) override;
void prerender() override;
void render() override;
private:
MySimpleShaderProgram m_shader_program;
MySimpleShaderProgram::RenderableT m_shape;
MyBatch m_batch;
charcoal::Camera3D m_camera;
};