2018-09-15 21:40:49 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "TexturedScene.h"
|
|
|
|
#include "BuiltinCamera3D.h"
|
|
|
|
|
|
|
|
using namespace charcoal;
|
|
|
|
using namespace charcoal::builtin;
|
|
|
|
|
2018-09-19 07:52:42 +00:00
|
|
|
class MyBuiltinTexturedScene : public textured::Scene
|
2018-09-15 21:40:49 +00:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
MyBuiltinTexturedScene(Application& application);
|
|
|
|
|
|
|
|
void update(float delta_time, clock_t clock) override;
|
|
|
|
private:
|
2018-09-19 07:52:42 +00:00
|
|
|
textured::Renderable m_shape;
|
2018-09-15 21:40:49 +00:00
|
|
|
builtin::Camera3D m_camera;
|
2018-09-19 07:52:42 +00:00
|
|
|
textured::Batch& m_batch;
|
2018-09-15 21:40:49 +00:00
|
|
|
};
|