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