2018-09-18 20:55:32 +00:00
|
|
|
#pragma once
|
|
|
|
|
2018-10-11 05:26:24 +00:00
|
|
|
#include <charcoal-builtin/LitShadowedScene.h>
|
|
|
|
#include <charcoal-builtin/BuiltinCamera3D.h>
|
2018-09-18 20:55:32 +00:00
|
|
|
|
|
|
|
using namespace charcoal;
|
|
|
|
using namespace charcoal::builtin;
|
|
|
|
|
2018-09-19 07:52:42 +00:00
|
|
|
class MyBuiltinLitShadowedScene : public litshadowed::Scene
|
2018-09-18 20:55:32 +00:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
MyBuiltinLitShadowedScene(Application& application);
|
|
|
|
|
|
|
|
void update(float delta_time, clock_t clock) override;
|
|
|
|
private:
|
2018-09-20 17:53:06 +00:00
|
|
|
litshadowed::Renderable m_cube;
|
|
|
|
litshadowed::Renderable m_plane;
|
2018-09-18 20:55:32 +00:00
|
|
|
builtin::Camera3D m_camera;
|
2018-09-20 17:53:06 +00:00
|
|
|
litshadowed::Batch& m_cube_batch;
|
|
|
|
litshadowed::Batch& m_plane_batch;
|
2018-09-18 20:55:32 +00:00
|
|
|
};
|