charcoal/CharcoalBuiltin/WithCamera.h

20 lines
282 B
C
Raw Permalink Normal View History

#pragma once
#include <charcoal/Camera.h>
namespace charcoal
{
namespace builtin
{
class WithCamera
{
public:
void set_camera(Camera* camera) { m_p_camera = camera; }
Camera* get_camera() { return m_p_camera; }
private:
Camera* m_p_camera = nullptr;
};
}
}