aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Camera.cpp
blob: b1466b579d4af591ea2656e554a07a75f5fb1ece (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include "util/dbg.h"

#include "Camera.h"
#include "Component.h"
#include "types.h"

using namespace crepe;

Camera::Camera(
	game_object_id_t id, const ivec2 & screen, const vec2 & viewport_size, const Data & data
)
	: Component(id),
	  screen(screen),
	  viewport_size(viewport_size),
	  data(data) {
	dbg_trace();
}

Camera::~Camera() { dbg_trace(); }