aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Camera.cpp
blob: 179dc1823947f54a0a15fc9d4a2560aff2a6b439 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include "util/Log.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(); }