blob: 64ad81c66c36a7f19966393f0773b9db3ef00559 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#include <cstdint>
#include "api/Point.h"
#include "util/log.h"
#include "Component.h"
#include "Transform.h"
using namespace crepe::api;
Transform::Transform(uint32_t game_id, Point point, double rot,
double scale)
: Component(game_id), position(point), rotation(rot), scale(scale) {
dbg_trace();
}
Transform::~Transform() { dbg_trace(); }
int Transform::get_instances_max() const {
return 1;
}
|