aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Transform.cpp
blob: e9108c4758547ab8e06dc4a0af38d6bf2e9ec5ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "../util/Log.h"

#include "Transform.h"

using namespace crepe;

Transform::Transform(game_object_id_t id, const Vector2 & point,
					 double rotation, double scale)
	: Component(id),
	  position(point),
	  rotation(rotation),
	  scale(scale) {
	dbg_trace();
}