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