blob: c9d46c520eee0312d902d5e8bc099334a47e75c5 (
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
|