diff options
-rw-r--r-- | assetFactory/texturePacker.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/assetFactory/texturePacker.h b/assetFactory/texturePacker.h index 7e00f1a..ca0d67a 100644 --- a/assetFactory/texturePacker.h +++ b/assetFactory/texturePacker.h @@ -10,6 +10,10 @@ public: using Size = glm::uvec2; struct Area { +#ifndef __cpp_aggregate_paren_init + constexpr Area(Position p, Size s) : position {std::move(p)}, size {std::move(s)} { } +#endif + Position position; Size size; bool |