aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Transform.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-11-07 20:03:14 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-11-07 20:03:14 +0100
commit3d2428af8e8d9d49b4ade52d4806a7dae4cf1ab8 (patch)
tree30d908c427ff9b4ee53402fbf52cb15704e58623 /src/crepe/api/Transform.cpp
parentfde229c24dcbd1ed844880a35eabddb88279802b (diff)
merge #25 + nitpicking
Diffstat (limited to 'src/crepe/api/Transform.cpp')
-rw-r--r--src/crepe/api/Transform.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/crepe/api/Transform.cpp b/src/crepe/api/Transform.cpp
index a5f29ea..a244bc5 100644
--- a/src/crepe/api/Transform.cpp
+++ b/src/crepe/api/Transform.cpp
@@ -1,13 +1,11 @@
-#include <cstdint>
-
#include "util/log.h"
#include "Transform.h"
using namespace crepe;
-Transform::Transform(game_object_id_t id, const Vector2 & point, double rot,
- double scale)
- : Component(id), position(point), rotation(rot), scale(scale) {
+Transform::Transform(game_object_id_t id, const Vector2 & point,
+ double rotation, double scale)
+ : Component(id), position(point), rotation(rotation), scale(scale) {
dbg_trace();
}