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