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

#include "Camera.h"
#include "Color.h"
#include "Component.h"

using namespace crepe;

Camera::Camera(game_object_id_t id, const Color & bg_color, const ivec2 & screen,
			   const ivec2 & viewport, const double & zoom)
	: Component(id),
	  bg_color(bg_color),
	  screen(screen),
	  viewport(viewport),
	  zoom(zoom) {
	dbg_trace();
}

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