diff options
author | max-001 <maxsmits21@kpnmail.nl> | 2024-11-06 09:52:05 +0100 |
---|---|---|
committer | max-001 <maxsmits21@kpnmail.nl> | 2024-11-06 09:52:05 +0100 |
commit | f4083c161a1176c900629ba61d96843645fc7be5 (patch) | |
tree | 0c136c9af142a4f7018a7441ec879b3b41da02c0 /src/crepe/api/Transform.cpp | |
parent | bf4c172f2709adf5a6f210bae60e16972e8decad (diff) | |
parent | 6ce2c14077e3e6dd01398d582b42dc50e9141f54 (diff) |
Merge remote-tracking branch 'origin/master' into max/scenes
Diffstat (limited to 'src/crepe/api/Transform.cpp')
-rw-r--r-- | src/crepe/api/Transform.cpp | 3 |
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; } |