aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Transform.cpp
blob: cd944bdaa99b33c1eafaa045854ecc7f27ae427e (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();
}