charcoal/Example/MySpecifiedScene.h
elipzer 2f6c5ee319 Starting off with specified rendering.
Almost there. Just an odd linker error so far.
2018-10-13 15:26:22 -04:00

25 lines
584 B
C++

#pragma once
#include <charcoal-builtin/SpecifiedScene.h>
#include <charcoal-builtin/BuiltinCamera3D.h>
#include <charcoal-builtin/SpecifiedPoseable.h>
using namespace charcoal;
using namespace charcoal::builtin;
class MyBuiltinSpecifiedScene : public specified::Scene
{
public:
MyBuiltinSpecifiedScene(Application& application);
void update(float delta_time, clock_t clock) override;
private:
basic::Renderable m_shape;
builtin::Camera3D m_camera;
specified::Batch& m_batch;
SpecifiedPoseable<specified::Batch> m_pose_a;
SpecifiedPoseable<specified::Batch> m_pose_b;
};