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.h | |
parent | bf4c172f2709adf5a6f210bae60e16972e8decad (diff) | |
parent | 6ce2c14077e3e6dd01398d582b42dc50e9141f54 (diff) |
Merge remote-tracking branch 'origin/master' into max/scenes
Diffstat (limited to 'src/crepe/api/Transform.h')
-rw-r--r-- | src/crepe/api/Transform.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crepe/api/Transform.h b/src/crepe/api/Transform.h index f918115..557061b 100644 --- a/src/crepe/api/Transform.h +++ b/src/crepe/api/Transform.h @@ -14,9 +14,9 @@ class Transform : public Component { // works similar (or the same) as those found in GLSL? public: - Transform(uint32_t id, Point, double, double); + Transform(uint32_t id, const Point &, double, double); ~Transform(); - int get_instances_max() const; + virtual int get_instances_max() const { return 1; } //! Translation (shift) Point position; //! Rotation, in radians |