charcoal/Example/MyBuiltinLitScene.h

20 lines
449 B
C
Raw Normal View History

2018-09-14 22:09:43 +00:00
#pragma once
#include <charcoal-builtin/LitScene.h>
#include <charcoal-builtin/BuiltinCamera3D.h>
2018-09-14 22:09:43 +00:00
using namespace charcoal;
using namespace charcoal::builtin;
2018-09-19 07:52:42 +00:00
// TODO: Use the lit namespace in builtin
class MyBuiltinLitScene : public lit::Scene
2018-09-14 22:09:43 +00:00
{
public:
MyBuiltinLitScene(Application& application);
void update(float delta_time, clock_t clock) override;
private:
2018-09-19 07:52:42 +00:00
lit::Renderable m_shape;
2018-09-14 22:09:43 +00:00
builtin::Camera3D m_camera;
2018-09-19 07:52:42 +00:00
lit::Batch& m_batch;
2018-09-14 22:09:43 +00:00
};