aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Transform.cpp
blob: 8eeec4112f2861253572803fec37c1db55b953e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#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();
}