charcoal/Example/MyBuiltinCubeScene.h

19 lines
417 B
C
Raw Normal View History

#pragma once
#include <charcoal-builtin/BasicScene.h>
#include <charcoal-builtin/BuiltinCamera3D.h>
using namespace charcoal;
using namespace charcoal::builtin;
2018-09-19 07:52:42 +00:00
class MyBuiltinCubeScene : public basic::Scene
{
public:
MyBuiltinCubeScene(Application& application);
void update(float delta_time, clock_t clock) override;
private:
2018-09-19 07:52:42 +00:00
basic::Renderable m_shape;
builtin::Camera3D m_camera;
2018-09-19 07:52:42 +00:00
basic::Batch& m_batch;
};