blob: 29e2a3d77e99f0507089f3280a0d8907219f8021 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#pragma once
#include "Component.h"
#include "api/Point.h"
#include <cstdint>
namespace crepe::api {
class Transform : public Component {
public:
Transform(uint32_t id, Point&, double, double);
~Transform();
Point position; // Translation (shift)
double rotation; // Rotation, in radians
double scale; // Multiplication factoh
};
} // namespace crepe::api
|