aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Transform.cpp
blob: 1ca5b4dc667b4f24dc005fa06fa1f8904f763e08 (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<double> & point, double rotation,
					 double scale)
	: Component(id),
	  position(point),
	  rotation(rotation),
	  scale(scale) {
	dbg_trace();
}