19 lines
360 B
C
19 lines
360 B
C
|
#pragma once
|
||
|
|
||
|
#include "BasicScene.h"
|
||
|
#include "Camera2D.h"
|
||
|
|
||
|
using namespace charcoal;
|
||
|
using namespace charcoal::builtin;
|
||
|
|
||
|
class MyBuiltinCubeScene : public BasicScene
|
||
|
{
|
||
|
public:
|
||
|
MyBuiltinCubeScene(Application& application);
|
||
|
|
||
|
void update(float delta_time, clock_t clock) override;
|
||
|
private:
|
||
|
BasicRenderable m_shape;
|
||
|
Camera2D m_camera;
|
||
|
BasicBatch m_batch;
|
||
|
};
|