charcoal/OpenGLEngine/MyBuiltinCubeScene.h

19 lines
377 B
C
Raw Normal View History

#pragma once
#include "BasicScene.h"
#include "BuiltinCamera3D.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;
builtin::Camera3D m_camera;
BasicBatch& m_batch;
};