charcoal/OpenGLEngine/MyBuiltinCubeScene.h
elipzer ada349c0a2 Added builtin Namespace
The builtin namespace is intended to be a slighly higher level
interface with OpenGL through the charcoal engine. It is inteneded
to allow the developer to create applications without needing to
create shader code or worry about rendering techniques. Eventually,
applications with lighting, textures, vertex coloring, shadows, and
a text-based UI should be available through the builtin namespace
2018-09-14 14:20:09 -04:00

19 lines
377 B
C++

#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;
};