2018-09-13 23:21:34 +00:00
|
|
|
#pragma once
|
|
|
|
|
2018-10-14 04:52:32 +00:00
|
|
|
#include <charcoal/Poseable.h>
|
2018-10-11 05:26:24 +00:00
|
|
|
#include <charcoal-builtin/BasicScene.h>
|
|
|
|
#include <charcoal-builtin/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-10-14 04:52:32 +00:00
|
|
|
|
|
|
|
Poseable m_pose_a;
|
|
|
|
Poseable m_pose_b;
|
2018-09-13 23:21:34 +00:00
|
|
|
};
|