aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Transform.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-11-05 18:48:46 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-11-05 18:48:46 +0100
commit3fe7400de095756362b999908fd2a2ba3b71a848 (patch)
tree8a6c6d4213fdab076a451f37e6471ca5965b2c8f /src/crepe/api/Transform.cpp
parentae6a103946e437ca85cc69c5fc2cbf68d35ffeae (diff)
merge #18
Diffstat (limited to 'src/crepe/api/Transform.cpp')
-rw-r--r--src/crepe/api/Transform.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/crepe/api/Transform.cpp b/src/crepe/api/Transform.cpp
index a80aff3..9c9bb06 100644
--- a/src/crepe/api/Transform.cpp
+++ b/src/crepe/api/Transform.cpp
@@ -8,11 +8,10 @@
using namespace crepe;
-Transform::Transform(uint32_t game_id, Point point, double rot, double scale)
+Transform::Transform(uint32_t game_id, const 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; }