blob: b042c35d175a2a76eb49625a9e10ad2a0321764d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#include "types.h"
#include "util/Log.h"
#include "Camera.h"
#include "Component.h"
using namespace crepe;
Camera::Camera(game_object_id_t id, const ivec2 & screen, const vec2 & viewport_size,
const Data & ctx)
: Component(id),
screen(screen),
viewport_size(viewport_size),
data(ctx) {
dbg_trace();
}
Camera::~Camera() { dbg_trace(); }
|