2018-10-09 15:42:17 +00:00
|
|
|
#pragma once
|
|
|
|
|
2018-10-11 05:26:24 +00:00
|
|
|
#include <charcoal/Camera.h>
|
2018-10-09 15:42:17 +00:00
|
|
|
|
|
|
|
namespace charcoal
|
|
|
|
{
|
|
|
|
namespace builtin
|
|
|
|
{
|
|
|
|
class WithCamera
|
|
|
|
{
|
2018-10-14 19:06:51 +00:00
|
|
|
public:
|
2018-10-09 15:42:17 +00:00
|
|
|
void set_camera(Camera* camera) { m_p_camera = camera; }
|
|
|
|
|
|
|
|
Camera* get_camera() { return m_p_camera; }
|
|
|
|
|
|
|
|
private:
|
|
|
|
Camera* m_p_camera = nullptr;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|