7cbe8acf30
Now the code is being compiled through .lib files!
20 lines
285 B
C++
20 lines
285 B
C++
#pragma once
|
|
|
|
#include <charcoal/Camera.h>
|
|
|
|
namespace charcoal
|
|
{
|
|
namespace builtin
|
|
{
|
|
class WithCamera
|
|
{
|
|
protected:
|
|
void set_camera(Camera* camera) { m_p_camera = camera; }
|
|
|
|
Camera* get_camera() { return m_p_camera; }
|
|
|
|
private:
|
|
Camera* m_p_camera = nullptr;
|
|
};
|
|
}
|
|
} |