charcoal/OpenGLEngine/MyBuiltinCubeScene.h
elipzer d63f341d89 More builtin abstraction
Got the builtin basicscene to render. For some reason, it seems
like the model matrices are not working correctly. The two shapes
that are supposed to be rendering on screen are not moving around
as they should be.
2018-09-13 19:21:34 -04:00

19 lines
360 B
C++

#pragma once
#include "BasicScene.h"
#include "Camera2D.h"
using namespace charcoal;
using namespace charcoal::builtin;
class MyBuiltinCubeScene : public BasicScene
{
public:
MyBuiltinCubeScene(Application& application);
void update(float delta_time, clock_t clock) override;
private:
BasicRenderable m_shape;
Camera2D m_camera;
BasicBatch m_batch;
};