2018-09-13 23:21:34 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "BasicScene.h"
|
2018-09-14 18:20:09 +00:00
|
|
|
#include "BuiltinCamera3D.h"
|
2018-09-13 23:21:34 +00:00
|
|
|
|
|
|
|
using namespace charcoal;
|
|
|
|
using namespace charcoal::builtin;
|
|
|
|
|
2018-09-19 07:52:42 +00:00
|
|
|
class MyBuiltinCubeScene : public basic::Scene
|
2018-09-13 23:21:34 +00:00
|
|
|
{
|
|
|
|
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;
|
2018-09-14 18:20:09 +00:00
|
|
|
builtin::Camera3D m_camera;
|
2018-09-19 07:52:42 +00:00
|
|
|
basic::Batch& m_batch;
|
2018-09-13 23:21:34 +00:00
|
|
|
};
|